Castor3D 0.16.0
Multiplatform 3D engine
Public Attributes | List of all members
castor3d::EngineConfig Struct Reference

#include <Engine.hpp>

Collaboration diagram for castor3d::EngineConfig:
Collaboration graph
[legend]

Public Attributes

castor::String appName
 
Version appVersion
 
bool enableValidation { false }
 
bool enableRandom { true }
 
bool enableUpdateOptimisations { true }
 
uint32_t shaderDebugLevel { 0u }
 
bool enableShaderValidation { false }
 
bool enableApiTrace { false }
 
bool keepTextShaders { false }
 
bool enableDebugTargets { false }
 

Member Data Documentation

◆ appName

castor::String castor3d::EngineConfig::appName

The user application name.

Referenced by castor3d::Engine::getAppName().

◆ appVersion

Version castor3d::EngineConfig::appVersion

The user application version.

Referenced by castor3d::Engine::getAppVersion().

◆ enableApiTrace

bool castor3d::EngineConfig::enableApiTrace { false }

true to enable rendering API trace.

Referenced by castor3d::Engine::isApiTraceEnabled().

◆ enableDebugTargets

bool castor3d::EngineConfig::enableDebugTargets { false }

true to enable debug targets visualisation.

Referenced by castor3d::Engine::areDebugTargetsEnabled().

◆ enableRandom

bool castor3d::EngineConfig::enableRandom { true }

true to generate random seeds at each run.

Referenced by castor3d::Engine::isRandomisationEnabled().

◆ enableShaderValidation

bool castor3d::EngineConfig::enableShaderValidation { false }

true to enable shaders validation through glslang.

Referenced by castor3d::Engine::isShaderValidationEnabled().

◆ enableUpdateOptimisations

bool castor3d::EngineConfig::enableUpdateOptimisations { true }

true to enable update optimisations (to prevent running passes for which data haven't changed).

Referenced by castor3d::Engine::areUpdateOptimisationsEnabled().

◆ enableValidation

bool castor3d::EngineConfig::enableValidation { false }

true to enable rendering API validation.

Referenced by castor3d::Engine::isValidationEnabled().

◆ keepTextShaders

bool castor3d::EngineConfig::keepTextShaders { false }

true to keep the text version for shaders.

Referenced by castor3d::Engine::areTextShadersKept().

◆ shaderDebugLevel

uint32_t castor3d::EngineConfig::shaderDebugLevel { 0u }

The debug shader level.

Referenced by castor3d::Engine::getShaderDebugLevel().


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