OpenPolygon
1.0.0
OpenPolygon is a Rendering Engine
|
The GLFWDisplay - display class. More...
#include <display.h>
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) |
![]() | |
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) |
Camera * | getCamera (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 | |
![]() | |
Camera * | m_camera |
DisplayData | m_display_data |
The GLFWDisplay - display class.