OpenPolygon  1.0.0
OpenPolygon is a Rendering Engine
Public Member Functions | List of all members
Engine::GLFWDisplay Class Reference

The GLFWDisplay - display class. More...

#include <display.h>

Inheritance diagram for Engine::GLFWDisplay:
Engine::OpenPolygonDisplay

Public Member Functions

 GLFWDisplay (const std::string &display_name)
 
void Close (void) final override
 
bool isClosed (void) final override
 
void Update (void) final override
 
void setTitle (const char *title) final override
 
void setWindow (GLFWwindow *window)
 
void setWindowSize (int width, int height)
 
void catchMouse (bool visible)
 
GLFWwindow * getWindow (void)
 
- Public Member Functions inherited from Engine::OpenPolygonDisplay
 OpenPolygonDisplay (const std::string &display_name)
 
void setCamera (Camera *camera)
 
void setViewPort (int x, int y, int width, int height)
 
void setPerspective (glm::mat4 matrix)
 
void setPerspective (float fovy, float aspect, float near, float far)
 
CameragetCamera (void)
 
int getRenderHeight (void)
 
int getRenderWidth (void)
 
int getViewPortX (void)
 
int getViewPortY (void)
 
const std::string & getName (void)
 
const char * getTitle (void)
 
glm::mat4 getPerspective (void)
 

Additional Inherited Members

- Protected Attributes inherited from Engine::OpenPolygonDisplay
Cameram_camera
 
DisplayData m_display_data
 

Detailed Description

The GLFWDisplay - display class.


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