molecular
|
Provides viewport dimensions when using the GLFW library. More...
#include <GlfwContext.h>
Public Member Functions | |
GlfwContext (GLFWwindow *window) | |
Constructor. More... | |
util::IntVector4 | GetViewport (int eye) override |
![]() | |
virtual | ~RenderContext ()=default |
virtual int | GetNumEyes () |
virtual intptr_t | GetRenderTarget (int eye) |
virtual util::Matrix4 | GetHeadToEyeTransform (int eye) |
virtual bool | HasProjectionMatrix (int eye) |
virtual util::Matrix4 | GetProjectionMatrix (int) |
Provides viewport dimensions when using the GLFW library.
molecular::gfx::GlfwContext::GlfwContext | ( | GLFWwindow * | window | ) |
Constructor.
Throws exceptions on failure.
|
overridevirtual |
Implements molecular::gfx::RenderContext.