Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
WindowSystem.cpp File Reference
#include "WindowSystem.hpp"
#include "Logger.hpp"
#include "event/OnResize.hpp"
#include "resource/EventManager.hpp"

Namespaces

namespace  Window
namespace  Window::System

Functions

void Window::System::CreateWindowSystem (Engine::Core &core)
 Create a GLFW window.
void Window::System::EnableVSync (Engine::Core &core)
 Enable VSync.
void Window::System::PollEvents (Engine::Core &core)
 Poll GLFW events.
void Window::System::InitGLFW (const Engine::Core &core)
 Initialize the GLFW.
void Window::System::SetupGLFWHints (const Engine::Core &core)
 Setup GLFW Hints.
void Window::System::LinkGLFWContextToGL (Engine::Core &core)
 Link the GLFW context to GL.
void Window::System::SwapBuffers (Engine::Core &core)
 Swap the buffers.
void Window::System::StopSystems (Engine::Core &core)
 Stop the window systems.
void Window::System::StoreCoreInWindow (Engine::Core &core)
 Store a pointer to the currently used Core in the GLFW window.
void Window::System::DestroyWindow (Engine::Core &core)
 Destroy the GLFW window.
void Window::System::SetupWindowCallbacks (Engine::Core &core)
 Setup window callbacks.