Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
WindowSystem.hpp File Reference
#include "Engine.hpp"
#include "resource/Window.hpp"
#include <iostream>

Go to the source code of this file.

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.

Variables

const int Window::System::DEFAULT_WIDTH = 800
const int Window::System::DEFAULT_HEIGHT = 800