Raftel Engine
 
Loading...
Searching...
No Matches
window.hpp File Reference

Provides the definition of window management and system setup for the Raftel engine. More...

#include <GL/glew.h>
#include <GLFW/glfw3.h>
#include <optional>
#include <memory>
#include <raftel/input.hpp>
#include <raftel/global_macros.hpp>
#include <glm/glm.hpp>

Go to the source code of this file.

Classes

class  Raftel::WindowSystem
 Manages the initialization and termination of the GLFW window system. More...
 
class  Raftel::Window
 Represents a single window in the system, supporting OpenGL context and input handling. More...
 

Variables

constexpr float Raftel::SCREEN_WIDTH = 640.0f
 Default width of the screen in pixels.
 
constexpr float Raftel::SCREEN_HEIGHT = 480.0f
 Default height of the screen in pixels.
 

Detailed Description

Provides the definition of window management and system setup for the Raftel engine.

Date
2025-03-10
Authors
Carlos Mazcuñán Blanes, Marc Folgado Balbás

The file also includes essential OpenGL setup such as GLEW initialization and debug message callback setup to facilitate debugging and error handling during OpenGL operations.

Definition in file window.hpp.

Variable Documentation

◆ SCREEN_HEIGHT

float Raftel::SCREEN_HEIGHT = 480.0f
constexpr

Default height of the screen in pixels.

Definition at line 33 of file window.hpp.

◆ SCREEN_WIDTH

float Raftel::SCREEN_WIDTH = 640.0f
constexpr

Default width of the screen in pixels.

Definition at line 32 of file window.hpp.