Foundation
Loading...
Searching...
No Matches
Public Attributes | List of all members
RendererConfig Struct Reference

#include <Renderer.hpp>

Public Attributes

ViewFlags viewFlags {ViewFlagsBits::EnableRasterRTShadows}
 
MaterialFlags materialFlags {0u}
 
CullFlags cullFlags {CullFlagsBits::Frustum | CullFlagsBits::Occlusion | CullFlagsBits::Backface}
 
RHIExtent2D renderExtent {0u, 0u}
 
PTSampler ptSampler {PTSampler::Sobol}
 
LightSampler lightSamplerMode {LightSampler::BVH}
 
bool const * ptRenderPaused {nullptr}
 
bool ptShaderExecutionReordering {true}
 
bool forceTextureLOD0 {false}
 
bool energyCompensation {true}
 
bool ptPrimaryLightVisibility {false}
 
bool ptSharc {true}
 
uint32_t ptSharcEntries {1u << 22u}
 
float ptSharcSceneScale {50.0f}
 
uint32_t ptSharcAccumulationFrames {20u}
 
uint32_t ptSharcStaleFrames {60u}
 
float ptSharcRoughnessThreshold {0.4f}
 
uint32_t ptSharcUpdateDownscale {5u}
 
bool textureAnisoEnable {true}
 
float textureAnisoLevel {16.0f}
 
bool textureTrilinear {true}
 
bool isRendering {false}
 

Member Data Documentation

◆ cullFlags

CullFlags RendererConfig::cullFlags {CullFlagsBits::Frustum | CullFlagsBits::Occlusion | CullFlagsBits::Backface}

◆ energyCompensation

bool RendererConfig::energyCompensation {true}

◆ forceTextureLOD0

bool RendererConfig::forceTextureLOD0 {false}

◆ isRendering

bool RendererConfig::isRendering {false}

◆ lightSamplerMode

LightSampler RendererConfig::lightSamplerMode {LightSampler::BVH}

◆ materialFlags

MaterialFlags RendererConfig::materialFlags {0u}

◆ ptPrimaryLightVisibility

bool RendererConfig::ptPrimaryLightVisibility {false}

◆ ptRenderPaused

bool const* RendererConfig::ptRenderPaused {nullptr}

◆ ptSampler

PTSampler RendererConfig::ptSampler {PTSampler::Sobol}

◆ ptShaderExecutionReordering

bool RendererConfig::ptShaderExecutionReordering {true}

◆ ptSharc

bool RendererConfig::ptSharc {true}

◆ ptSharcAccumulationFrames

uint32_t RendererConfig::ptSharcAccumulationFrames {20u}

◆ ptSharcEntries

uint32_t RendererConfig::ptSharcEntries {1u << 22u}

◆ ptSharcRoughnessThreshold

float RendererConfig::ptSharcRoughnessThreshold {0.4f}

◆ ptSharcSceneScale

float RendererConfig::ptSharcSceneScale {50.0f}

◆ ptSharcStaleFrames

uint32_t RendererConfig::ptSharcStaleFrames {60u}

◆ ptSharcUpdateDownscale

uint32_t RendererConfig::ptSharcUpdateDownscale {5u}

◆ renderExtent

RHIExtent2D RendererConfig::renderExtent {0u, 0u}

◆ textureAnisoEnable

bool RendererConfig::textureAnisoEnable {true}

◆ textureAnisoLevel

float RendererConfig::textureAnisoLevel {16.0f}

◆ textureTrilinear

bool RendererConfig::textureTrilinear {true}

◆ viewFlags

ViewFlags RendererConfig::viewFlags {ViewFlagsBits::EnableRasterRTShadows}

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