NcEngine
nc::config::GraphicsSettings Struct Reference

Options for configuring NcGraphics. More...

#include <Config.h>

Public Attributes

bool enabled = true
 enable the NcGraphics module
 
bool useNativeResolution = false
 use the monitor's native resolution
 
bool launchInFullscreen = false
 launch a fullscreen window
 
unsigned screenWidth = 1000
 width of the screen
 
unsigned screenHeight = 1000
 height of the screen
 
unsigned targetFPS = 60
 target frame rate
 
bool useShadows = true
 enable shadow mapping and shadow rendering
 
unsigned shadowMapResolution = 2048
 shadow map resolution. Minimum value = 128
 
unsigned antialiasing = 8u
 the number of samples for MSAA
 
unsigned initialBatchSize = 1u
 default instance capacity for render batch allocation (size hint - can grow beyond this)
 
bool useValidationLayers = false
 turn on validation layers in debug builds
 

Detailed Description

Options for configuring NcGraphics.


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