Loading...
Searching...
No Matches
state.h
Go to the documentation of this file.
#ifndef ARC_ENGINE_STATE_H_
#define ARC_ENGINE_STATE_H_
#ifdef __cplusplus
extern "C" {
#endif
typedef void (* ARC_State_UpdateFn)(void *data);
typedef void (* ARC_State_RenderFn)(void *data);
typedef struct ARC_State {
ARC_State_UpdateFn updateFn;
ARC_State_RenderFn renderFn;
void *data;
} ARC_State;
void ARC_State_Update(void *data);
void ARC_State_Render(void *data);
#ifdef __cplusplus
}
#endif
#endif // ARC_ENGINE_STATE_H_
ARC_State_Render
void ARC_State_Render(void *data)
ARC_State
struct ARC_State ARC_State
ARC_State_RenderFn
void(* ARC_State_RenderFn)(void *data)
Definition state.h:9
ARC_State_Update
void ARC_State_Update(void *data)
ARC_State_UpdateFn
void(* ARC_State_UpdateFn)(void *data)
Definition state.h:8
ARC_State
Definition state.h:10
ARC_State::updateFn
ARC_State_UpdateFn updateFn
Definition state.h:11
ARC_State::data
void * data
Definition state.h:13
ARC_State::renderFn
ARC_State_RenderFn renderFn
Definition state.h:12