Infomation Retrieval Functions
These functions are provided to extract infomation from the Window Manager
EnumDisplayInfo
Function Prototypes
- void EnumDisplayInfo(displaycapslist_t &caps) const
Fills a given displaycapslist_t with all the valid display modes for the default adapater. - void EnumDisplayInfo(int display, displaycapslist_t &caps) const
Fills a given displaycapslist_t with all the valid display modes for the requested adapater.
Return Value
- None
Possible Known Exceptions
- None
Other Details / Notes
- If one of the setup functions hasnt been called then the list will be left empty after the function call.
EnumOpenGLModes
Function Prototypes
- void EnumOpenGLModes(oglcapslist_t &caps) const
Fills the supplied oglcapslist_t with all valid OpenGL context modes on the default adapter. - void EnumOpenGLModes(int display, oglcapslist_t &caps) const
Fills the supplied oglcapslist_t with all valid OpenGL context modes on the requested adapter.
Return Value
- None
Possible Known Exceptions
- None
Other Details / Notes
- If one of the setup functions hasnt been called then the list will be left empty after the function call.
GetOpenGLDetails
Function Prototypes
- void GetOpenGLDetails(opengldetails &details) const
Retrieves the details for any OpenGL contexts created on the default adapater - void GetOpenGLDetails(int display, opengldetails &details) const
Retrieves the details for any OpenGL contexts created on the requested adapater
Return Value
- None
Possible Known Exceptions
- None
Other Details / Notes
- If one of the setup functions hasnt been called then the list will be left empty after the function call.
GetCurrentOpenGLMode
Function Prototypes
- openglcaps GetCurrentOpenGLMode() const
Returns a copy of the settings that all OpenGL Contexts will use on the default adapter. - openglcaps GetCurrentOpenGLMode(int display) const
Returns a copy of the settings that all OpenGL Contexts will use on the requested adapter.
Return Value
- A Copy of the OpenGL context setup that the Window Manager will use to initalise all OpenGL windows with on that adapter.
Possible Known Exceptions
- None
Other Details / Notes
- If one of the setup functions hasnt been called then the list will be left empty after the function call.
GetNumDisplays
Function Prototypes
- int GetNumDisplays() const
Returns the number of displays for this machine.
Return Value
- Number of displays for this machine
Possible Known Exceptions
- None
Other Details / Notes
- If one of the setup functions hasnt been called then the function will check for its self, otherwise it will use the cached version
- Current release just returns 1 (one) as proper multi-display handling isnt in yet.