RetroArch
|
Go to the source code of this file.
Classes | |
struct | state_tracker_uniform_info |
struct | state_tracker_info |
struct | state_tracker_uniform |
Typedefs | |
typedef struct state_tracker | state_tracker_t |
Functions | |
state_tracker_t * | state_tracker_init (const struct state_tracker_info *info) |
void | state_tracker_free (state_tracker_t *tracker) |
unsigned | state_tracker_get_uniform (state_tracker_t *tracker, struct state_tracker_uniform *uniforms, unsigned elem, unsigned frame_count) |
void | state_tracker_update_input (uint16_t *input1, uint16_t *input2) |
typedef struct state_tracker state_tracker_t |
enum state_ram_type |
enum state_tracker_type |
void state_tracker_free | ( | state_tracker_t * | tracker | ) |
state_tracker_free: : State tracker handle.
Frees a state tracker handle.
unsigned state_tracker_get_uniform | ( | state_tracker_t * | tracker, |
struct state_tracker_uniform * | uniforms, | ||
unsigned | elem, | ||
unsigned | frame_count | ||
) |
state_tracker_get_uniform: : State tracker handle. : State tracker uniforms. : Amount of uniform elements. : Frame count.
Calls update_input(), and updates each uniform element accordingly.
Returns: Amount of state elements (either equal to or equal to ->info_eleme).
state_tracker_get_uniform: : State tracker handle. : State tracker uniforms. : Amount of uniform elements. : Frame count.
Calls state_tracker_update_input(), and updates each uniform element accordingly.
Returns: Amount of state elements (either equal to or equal to ->info_eleme).
state_tracker_t* state_tracker_init | ( | const struct state_tracker_info * | info | ) |
state_tracker_init: : State tracker info handle.
Creates and initializes graphics state tracker.
Returns: new state tracker handle if successful, otherwise NULL.