18 #ifndef ION_GFX_UPDATESTATETABLE_H_
19 #define ION_GFX_UPDATESTATETABLE_H_
24 class GraphicsManager;
32 GraphicsManager* gm, StateTable* st);
46 StateTable* save_state,
57 StateTable* save_state,
63 #endif // ION_GFX_UPDATESTATETABLE_H_
void UpdateSettingsInStateTable(StateTable *st, GraphicsManager *gm)
This internal function can be used to update a StateTable instance to match the current OpenGL settin...
void ClearFromStateTable(const StateTable &new_state, StateTable *save_state, GraphicsManager *gm)
This internal function can be used to update the Clear()-related OpenGL state (dithering, scissor test, write masks, scissor box, and clear values) managed by a GraphicsManager to match a StateTable, and updates save_state to contain the new state.
void UpdateStateTable(int default_width, int default_height, GraphicsManager *gm, StateTable *st)
Public functions.
void UpdateFromStateTable(const StateTable &new_state, StateTable *save_state, GraphicsManager *gm)
This internal function can be used to update the OpenGL state managed by a GraphicsManager to match a...