Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
aegis2d::render::opengl::ContextConfig Struct Reference

Settings of a new context. More...

#include <aegis2d/render/opengl/context.hpp>

Public Attributes

bool vsync = true
 Whether swap_buffers() waits for the vertical blank.
 
bool debug = debug_build()
 Whether OpenGL errors are written to the log (see DebugOutput); on in debug builds of the engine.
 

Detailed Description

Settings of a new context.

Member Data Documentation

◆ debug

bool aegis2d::render::opengl::ContextConfig::debug = debug_build()

Whether OpenGL errors are written to the log (see DebugOutput); on in debug builds of the engine.

◆ vsync

bool aegis2d::render::opengl::ContextConfig::vsync = true

Whether swap_buffers() waits for the vertical blank.


The documentation for this struct was generated from the following file: