-
Notifications
You must be signed in to change notification settings - Fork 1
OpenGLWindow
A edited this page Aug 31, 2022
·
1 revision
header: "Platform/OpenGL/OpenGLWindow.h"
Window implementation for OpenGL Platform. Under the hood operates on base of GLFW.
| Name | Description |
|---|---|
| OpenGLWindow(const WindowProps &props) |
| Name | Description | |
|---|---|---|
| private | GLFWwindow *window_ | pointer to the GLFWwindow |
| private | WindowData data_ | OpenGL Window's data |
| private static | bool s_GLFWInitialized | states if GLFW has already been initialized |
For base class check Window
| Name | Description | |
|---|---|---|
| private | void Init(const WindowProps &props) | Initializes OpenGL Window and GLFW if it hadn't been initialized beforehand |
| private | void Destroy() | Terminates window instance |
| Name | Description |
|---|---|
| age_string_t title | |
| unsigned int width | |
| unsigned int height | |
| bool vSync | |
| EventCallbackFn EventCallback | A callback for event binding |