|
Engine²
Open-source game engine written in C++.
|
Functions | |
| void | CreateWindowSystem (Engine::Core &core) |
| Create a GLFW window. | |
| void | EnableVSync (Engine::Core &core) |
| Enable VSync. | |
| void | PollEvents (Engine::Core &core) |
| Poll GLFW events. | |
| void | InitGLFW (const Engine::Core &core) |
| Initialize the GLFW. | |
| void | SetupGLFWHints (const Engine::Core &core) |
| Setup GLFW Hints. | |
| void | LinkGLFWContextToGL (Engine::Core &core) |
| Link the GLFW context to GL. | |
| void | SwapBuffers (Engine::Core &core) |
| Swap the buffers. | |
| void | StopSystems (Engine::Core &core) |
| Stop the window systems. | |
| void | StoreCoreInWindow (Engine::Core &core) |
| Store a pointer to the currently used Core in the GLFW window. | |
| void | DestroyWindow (Engine::Core &core) |
| Destroy the GLFW window. | |
| void | SetupWindowCallbacks (Engine::Core &core) |
| Setup window callbacks. | |
Variables | |
| const int | DEFAULT_WIDTH = 800 |
| const int | DEFAULT_HEIGHT = 800 |
| void Window::System::CreateWindowSystem | ( | Engine::Core & | core | ) |
Create a GLFW window.
This function creates a GLFW window.
| core | The Engine² Core. |
| void Window::System::DestroyWindow | ( | Engine::Core & | core | ) |
Destroy the GLFW window.
This function destroys the GLFW window.
| core | The Engine² Core. |
| void Window::System::EnableVSync | ( | Engine::Core & | core | ) |
Enable VSync.
This function enables VSync.
| core | The Engine² Core. |
| void Window::System::InitGLFW | ( | const Engine::Core & | core | ) |
Initialize the GLFW.
This function initialize GLFW.
| core | The Engine² Core. |
| void Window::System::LinkGLFWContextToGL | ( | Engine::Core & | core | ) |
Link the GLFW context to GL.
This function link the GLFW context to GL.
| core | The Engine² Core. |
| void Window::System::PollEvents | ( | Engine::Core & | core | ) |
Poll GLFW events.
This function polls GLFW events.
| core | The Engine² Core. |
| void Window::System::SetupGLFWHints | ( | const Engine::Core & | core | ) |
Setup GLFW Hints.
This function setup the GLFW Hints.
| core | The Engine² Core. |
| void Window::System::SetupWindowCallbacks | ( | Engine::Core & | core | ) |
Setup window callbacks.
This function sets up the window callbacks.
| core | The Engine² Core. |
| void Window::System::StopSystems | ( | Engine::Core & | core | ) |
Stop the window systems.
This function stops the window systems.
| core | The Engine² Core. |
| void Window::System::StoreCoreInWindow | ( | Engine::Core & | core | ) |
Store a pointer to the currently used Core in the GLFW window.
| core | The Engine² Core. |
| void Window::System::SwapBuffers | ( | Engine::Core & | core | ) |
Swap the buffers.
This function swaps the buffers.
| core | The Engine² Core. |
| const int Window::System::DEFAULT_HEIGHT = 800 |
| const int Window::System::DEFAULT_WIDTH = 800 |