Overload  1.1
Game engine with editor
Public Attributes | List of all members
OvWindowing::Settings::DeviceSettings Struct Reference

#include <DeviceSettings.h>

Public Attributes

bool debugProfile = false
 
bool forwardCompatibility = false
 
uint8_t contextMajorVersion = 3
 
uint8_t contextMinorVersion = 2
 
uint8_t samples = 4
 

Detailed Description

Contains device settings

Member Data Documentation

◆ contextMajorVersion

uint8_t OvWindowing::Settings::DeviceSettings::contextMajorVersion = 3

Specify the client API major version that the created context must be compatible with. The exact behavior of these hints depend on the requested client API

◆ contextMinorVersion

uint8_t OvWindowing::Settings::DeviceSettings::contextMinorVersion = 2

Specify the client API minor version that the created context must be compatible with. The exact behavior of these hints depend on the requested client API

◆ debugProfile

bool OvWindowing::Settings::DeviceSettings::debugProfile = false

specifies whether to create a debug OpenGL context, which may have additional error and performance issue reporting functionality. If OpenGL ES is requested, this hint is ignored

◆ forwardCompatibility

bool OvWindowing::Settings::DeviceSettings::forwardCompatibility = false

Specifies whether the OpenGL context should be forward-compatible, i.e. one where all functionality deprecated in the requested version of OpenGL is removed. This must only be used if the requested OpenGL version is 3.0 or above. If OpenGL ES is requested, this hint is ignored.

◆ samples

uint8_t OvWindowing::Settings::DeviceSettings::samples = 4

Defines the amount of samples to use (Requiered for multi-sampling)


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