betray state

Functions to get access to Betray 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 way


BContextType betray_plugin_context_type_get();

Description: Find out what kind of context OpenGL is running


double betray_plugin_screen_mode_get(uint *x_size, uint *y_size, boolean *fullscreen);

Description: Get the current screen mode of the application


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.