Base class for windows.
virtual MinVR::AbstractWindow::~AbstractWindow |
( |
) | |
|
|
virtual |
virtual int MinVR::AbstractWindow::getHeight |
( |
) | |
|
|
pure virtual |
int MinVR::AbstractWindow::getNumViewports |
( |
) | |
|
|
inline |
virtual int MinVR::AbstractWindow::getWidth |
( |
) | |
|
|
pure virtual |
virtual int MinVR::AbstractWindow::getXPos |
( |
) | |
|
|
pure virtual |
virtual int MinVR::AbstractWindow::getYPos |
( |
) | |
|
|
pure virtual |
virtual void MinVR::AbstractWindow::makeContextCurrent |
( |
) | |
|
|
pure virtual |
This method should be implemented for each derived class. It makes the associated context current on the calling thread.
- Note
- A context can only be current on one thread at a time. RenderThread calls this method for each thread.
Implemented in MinVR::WindowGLFW.
virtual void MinVR::AbstractWindow::pollForInput |
( |
std::vector< EventRef > & |
events) | |
|
|
pure virtual |
This method should be implemented for each derived class. It collects window events and adds them to the events array.
Implemented in MinVR::WindowGLFW.
virtual void MinVR::AbstractWindow::releaseContext |
( |
) | |
|
|
pure virtual |
This method should be implemented for each derived class. It releases the associated context that is current on the calling thread.
- Note
- A context can only be current on one thread at a time.
Implemented in MinVR::WindowGLFW.
virtual void MinVR::AbstractWindow::swapBuffers |
( |
) | |
|
|
pure virtual |
This method should be implemented for each derived class. It swaps the front and back opengl buffers.
Implemented in MinVR::WindowGLFW.
virtual void MinVR::AbstractWindow::updateHeadTrackingForAllViewports |
( |
glm::mat4 |
headFrame) | |
|
|
virtual |
This method updates the head position for each camera that is associated with a specific viewport
- Parameters
-
[in] | The | new head position. |
The documentation for this class was generated from the following file: