Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
context.hpp File Reference

OpenGL core context attached to a window, with its functions loaded. More...

#include <aegis2d/platform/window.hpp>
#include <aegis2d/render/color.hpp>
#include <aegis2d/render/export.hpp>
#include <cstddef>
#include <cstdint>
#include <memory>
#include <stdexcept>
#include <string>

Go to the source code of this file.

Classes

class  aegis2d::render::opengl::ContextError
 Thrown when the OpenGL context cannot be created or is too old. More...
 
struct  aegis2d::render::opengl::Version
 Version of an OpenGL context. More...
 
struct  aegis2d::render::opengl::ContextConfig
 Settings of a new context. More...
 
struct  aegis2d::render::opengl::DriverInfo
 Driver strings of a context. More...
 
class  aegis2d::render::opengl::Context
 OpenGL core profile context of a window, with every OpenGL function loaded. More...
 

Namespaces

namespace  aegis2d
 Root namespace of the engine.
 
namespace  aegis2d::render
 OpenGL renderer: sprites, text and camera (client only).
 
namespace  aegis2d::render::opengl
 OpenGL backend of the renderer.
 

Enumerations

enum class  aegis2d::render::opengl::DebugOutput : std::uint8_t { aegis2d::render::opengl::Off , aegis2d::render::opengl::Callback , aegis2d::render::opengl::Polling }
 How a context reports OpenGL errors. More...
 

Functions

bool aegis2d::render::opengl::debug_build () noexcept
 Whether the engine was built for debugging.
 

Detailed Description

OpenGL core context attached to a window, with its functions loaded.