RT
Data Fields
s_sdl Struct Reference

#include <libui.h>

Collaboration diagram for s_sdl:
Collaboration graph
[legend]

Data Fields

t_img img
 
float progress_sub_sample
 
int sub_sample
 
bool needs_render
 
bool partial_render
 
bool fullscreen
 
bool layout
 
int width_vp
 
int height_vp
 
int thr_len
 
t_data_thrdata_thr
 
SDL_Window * win
 
void(* key_map )(int *, SDL_Keycode, void *, bool state)
 
void(* mouse_map )(SDL_Event *, void *)
 
void(* click_map )(SDL_Event *, void *)
 
void(* update )(void *arg)
 
void(* render_gui )(void *arg)
 
void(* prep_render )(t_sdl *sdl)
 
bool sepia
 
bool grayscale
 
bool cartoon
 
bool negative
 
bool sub_s
 
float render_time [P_TIME_LEN]
 
float gui_time [GUI_FPS]
 

Field Documentation

◆ cartoon

bool s_sdl::cartoon

◆ click_map

void(* s_sdl::click_map) (SDL_Event *, void *)

◆ data_thr

t_data_thr* s_sdl::data_thr

◆ fullscreen

bool s_sdl::fullscreen

◆ grayscale

bool s_sdl::grayscale

◆ gui_time

float s_sdl::gui_time[GUI_FPS]

◆ height_vp

int s_sdl::height_vp

◆ img

t_img s_sdl::img

◆ key_map

void(* s_sdl::key_map) (int *, SDL_Keycode, void *, bool state)

◆ layout

bool s_sdl::layout

◆ mouse_map

void(* s_sdl::mouse_map) (SDL_Event *, void *)

◆ needs_render

bool s_sdl::needs_render

◆ negative

bool s_sdl::negative

◆ partial_render

bool s_sdl::partial_render

◆ prep_render

void(* s_sdl::prep_render) (t_sdl *sdl)

◆ progress_sub_sample

float s_sdl::progress_sub_sample

◆ render_gui

void(* s_sdl::render_gui) (void *arg)

◆ render_time

float s_sdl::render_time[P_TIME_LEN]

◆ sepia

bool s_sdl::sepia

◆ sub_s

bool s_sdl::sub_s

◆ sub_sample

int s_sdl::sub_sample

◆ thr_len

int s_sdl::thr_len

◆ update

void(* s_sdl::update) (void *arg)

◆ width_vp

int s_sdl::width_vp

◆ win

SDL_Window* s_sdl::win

The documentation for this struct was generated from the following file: