Functionality query
Thies functions make it possible for an application to query what Betray can do on the current platform
betray_support_context
uint betray_support_context(BContextType context_type);
Description: Returns TRUE or FALSE of the implementation can creat a specific type of DDraw contextTypes:
Enum:
BContextType
B_CT_OPENGL |
Description: Normal OpenGL context |
B_CT_OPENGLES2 |
Description: OpenGL 2.0 ES Context |
B_CT_OPENGL_OR_ES |
Description: Creating a context of either OpenGL Or OpenGLES |
betray_support_functionality
uint betray_support_functionality(BSupportedFunctionality funtionality);
Description: Returns an integer value that tells the application what functionality is availabel on the platformTypes:
Enum:
BSupportedFunctionality
B_SF_USER_COUNT_MAX |
Description: whats the maximum number of users |
B_SF_POINTER_COUNT_MAX |
Description: whats the maximum number of pointers |
B_SF_FULLSCREEN |
Description: Does the system support full screen |
B_SF_WINDOWED |
Description: Does the system support window mode |
B_SF_VIEW_POSITION |
Description: Does the system manipulate view vantage |
B_SF_VIEW_ROTATION |
Description: Does the system manipulate the view direction |
B_SF_MOUSE_WARP |
Description: Does the syetem support mouse warp |
B_SF_EXECUTE |
Description: Does the system support execute |
B_SF_REQUESTER |
Description: Can the system support save/load requesters |
B_SF_CLIPBOARD |
Description: Does the syetem support cut and paste |
B_SF_COUNT |
Description: Number of members of this Enum |