betray state
Functions to get access to Betray State.
betray_plugin_get_input_state
BInputState *betray_plugin_get_input_state(void);
Description: Access the current state. It is illegal for any plugion to modify this structure in any waybetray_plugin_context_type_get
BContextType betray_plugin_context_type_get();
Description: Find out what kind of context OpenGL is runningbetray_plugin_screen_mode_get
double betray_plugin_screen_mode_get(uint *x_size, uint *y_size, boolean *fullscreen);
Description: Get the current screen mode of the applicationbetray_plugin_gl_proc_address_get
void *betray_plugin_gl_proc_address_get(void);
Description: Get the gl Proc address for the plugin context. Not that if the pluging ios drawing using OpenGL it will not use the same context as the host application.