molecular
Public Member Functions | List of all members
molecular::gfx::GlfwContext Class Reference

Provides viewport dimensions when using the GLFW library. More...

#include <GlfwContext.h>

Inheritance diagram for molecular::gfx::GlfwContext:
molecular::gfx::RenderContext

Public Member Functions

 GlfwContext (GLFWwindow *window)
 Constructor. More...
 
util::IntVector4 GetViewport (int eye) override
 
- Public Member Functions inherited from molecular::gfx::RenderContext
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)
 

Detailed Description

Provides viewport dimensions when using the GLFW library.

Constructor & Destructor Documentation

molecular::gfx::GlfwContext::GlfwContext ( GLFWwindow *  window)

Constructor.

Throws exceptions on failure.

Member Function Documentation

util::IntVector4 molecular::gfx::GlfwContext::GetViewport ( int  eye)
overridevirtual

The documentation for this class was generated from the following files: