3D Graphics Engine for ESP32
 
Loading...
Searching...
No Matches
Ragot::Window::OpenGL_Context_Settings Struct Reference

Struct for OpenGL context settings. More...

#include <Window.hpp>

Collaboration diagram for Ragot::Window::OpenGL_Context_Settings:
Collaboration graph

Public Attributes

unsigned version_major = 3
 Major version of OpenGL.
 
unsigned version_minor = 3
 Minor version of OpenGL.
 
bool core_profile = true
 Core profile flag.
 
unsigned depth_buffer_size = 24
 Depth buffer size.
 
unsigned stencil_buffer_size = 0
 Stencil buffer size.
 
bool enable_vsync = true
 V-Sync enable flag.
 

Detailed Description

Struct for OpenGL context settings.

Member Data Documentation

◆ core_profile

bool Ragot::Window::OpenGL_Context_Settings::core_profile = true

Core profile flag.

◆ depth_buffer_size

unsigned Ragot::Window::OpenGL_Context_Settings::depth_buffer_size = 24

Depth buffer size.

◆ enable_vsync

bool Ragot::Window::OpenGL_Context_Settings::enable_vsync = true

V-Sync enable flag.

◆ stencil_buffer_size

unsigned Ragot::Window::OpenGL_Context_Settings::stencil_buffer_size = 0

Stencil buffer size.

◆ version_major

unsigned Ragot::Window::OpenGL_Context_Settings::version_major = 3

Major version of OpenGL.

◆ version_minor

unsigned Ragot::Window::OpenGL_Context_Settings::version_minor = 3

Minor version of OpenGL.


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