#include <contextprovider.h>
|
void | setRequiredGLVersion (int majorVersionRequire, int minorVersionRequire) |
|
void | initWindowed () |
|
void | initWindowed (const Size< int > &resolution) |
|
void | initWindowed (const Size< int > &resolution, const Size< int > &position) |
|
void | initFullScreen (int monitorIndex=0) |
|
void | toggleFullScreen () |
|
void | shutdown () |
|
bool | fullScreen () const |
|
Size< int > | resolution () const |
|
Viewport | viewport () const |
|
float | aspectRatio () const |
|
std::vector< GLFWmonitor * > | monitors () const |
|
int | currentMonitor () const |
|
void | registerContextDependant (ContextDependant *dependant) |
|
void | unregisterContextDependant (ContextDependant *dependant) |
|
|
Size< int > | currentResolution (GLFWmonitor *monitor) |
|
void | setWindowHints () |
|
|
std::unordered_set
< ContextDependant * > | m_contextDependants |
|
bool | m_fullScreen |
|
int | m_majorVersionRequire |
|
int | m_minorVersionRequire |
|
int | m_lastFullScreenMonitorIndex |
|
Size< int > | m_lastWindowedPos |
|
Size< int > | m_lastWindowedSize |
|
The ContextProvider manages the use of the GL context, especially its recreation when switching fullscreen and windowed mode
The documentation for this class was generated from the following files: