Lysa  0.0
Lysa 3D Engine
RendererConfiguration Struct Reference

Public Attributes

RendererType rendererType {static_cast<int>(RendererType::DEFERRED)}
 
vireo::ImageFormat swapChainFormat {vireo::ImageFormat::R8G8B8A8_UNORM}
 Postprocessing & swap chain image format. Note that the real format can be different if the surface does not support the requested format. More...
 
vireo::ImageFormat colorRenderingFormat {vireo::ImageFormat::R16G16B16A16_UNORM}
 Main color pass frame buffer format. More...
 
vireo::ImageFormat depthStencilFormat {vireo::ImageFormat::D32_SFLOAT_S8_UINT}
 Depth and stencil buffer format. More...
 
float3 clearColor {DEFAULT_CLEAR_COLOR}
 Frame buffer clear color. More...
 
vireo::MSAA msaa {vireo::MSAA::NONE}
 MSAA samples count. More...
 
float gamma {2.2f}
 Gamma correction factor when using *_UNORM, *_SNORM or *_SFLOAT format. More...
 
float exposure {1.0f}
 Exposure correction factor. More...
 
ToneMappingType toneMappingType {ToneMappingType::ACES}
 Type of tone mapping shader when using HDR rendering formats R16G16B16A16_UNORM, R16G16B16A16_SFLOAT or R32G32B32A32_SFLOAT. More...
 
PostProcessAntiAliasingType postProcessAntiAliasingType {PostProcessAntiAliasingType::NONE}
 Type of antialiasing post-processing shader. More...
 
float fxaaSpanMax {16.0f}
 Maximum distance for FXAA luminance search (higher = sharper, more expensive) More...
 
float fxaaReduceMul {1.0f / 8.0f}
 Multiplier for reducing high-contrast artifacts in FXAA. More...
 
float fxaaReduceMin {1.0f / 256.0f}
 Minimum reduction factor to avoid division by zero in FXAA. More...
 
float smaaEdgeThreshold {0.20f}
 Minimum luma contrast for SMAA edge detection (lower = more edges detected) More...
 
int smaaBlendMaxSteps {4}
 Maximum search steps for SMAA blending (higher = better quality, more expensive) More...
 
bool bloomEnabled {true}
 Enable the bloom post-processing effect. More...
 
uint32 bloomBlurKernelSize {5}
 Bloom effect blur kernel size. More...
 
float bloomBlurStrength {1.2f}
 Bloom effect blur strength. More...
 

Member Data Documentation

uint32 bloomBlurKernelSize {5}

Bloom effect blur kernel size.

float bloomBlurStrength {1.2f}

Bloom effect blur strength.

bool bloomEnabled {true}

Enable the bloom post-processing effect.

float3 clearColor {DEFAULT_CLEAR_COLOR}

Frame buffer clear color.

vireo::ImageFormat colorRenderingFormat {vireo::ImageFormat::R16G16B16A16_UNORM}

Main color pass frame buffer format.

vireo::ImageFormat depthStencilFormat {vireo::ImageFormat::D32_SFLOAT_S8_UINT}

Depth and stencil buffer format.

float exposure {1.0f}

Exposure correction factor.

float fxaaReduceMin {1.0f / 256.0f}

Minimum reduction factor to avoid division by zero in FXAA.

float fxaaReduceMul {1.0f / 8.0f}

Multiplier for reducing high-contrast artifacts in FXAA.

float fxaaSpanMax {16.0f}

Maximum distance for FXAA luminance search (higher = sharper, more expensive)

float gamma {2.2f}

Gamma correction factor when using *_UNORM, *_SNORM or *_SFLOAT format.

vireo::MSAA msaa {vireo::MSAA::NONE}

MSAA samples count.

PostProcessAntiAliasingType postProcessAntiAliasingType {PostProcessAntiAliasingType::NONE}

Type of antialiasing post-processing shader.

RendererType rendererType {static_cast<int>(RendererType::DEFERRED)}
int smaaBlendMaxSteps {4}

Maximum search steps for SMAA blending (higher = better quality, more expensive)

float smaaEdgeThreshold {0.20f}

Minimum luma contrast for SMAA edge detection (lower = more edges detected)

vireo::ImageFormat swapChainFormat {vireo::ImageFormat::R8G8B8A8_UNORM}

Postprocessing & swap chain image format. Note that the real format can be different if the surface does not support the requested format.

ToneMappingType toneMappingType {ToneMappingType::ACES}

Type of tone mapping shader when using HDR rendering formats R16G16B16A16_UNORM, R16G16B16A16_SFLOAT or R32G32B32A32_SFLOAT.