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

#include <Renderer.hpp>

Public Attributes

uint32_t frameNumber
 
GSOffsetCount instances
 
GSOffsetCount materials
 
float lodThreshold {0.005f}
 
float zNear
 
float4x4 view
 
float4x4 proj
 
float4x4 inverseView
 
float4x4 inverseViewProj
 
float4x4 previousViewProj
 
uint32_t cameraHistoryFrame {UINT32_MAX}
 
float4 projPlanes
 
float aperture {0.0f}
 
float focalDistance {1e1}
 
uint32_t apertureBlades {0u}
 
float apertureRotation {0.0f}
 
float apertureRatio {1.0f}
 
uint32_t cameraProjection {0u}
 
float fbWidth
 
float fbHeight
 
uint32_t hizLevels
 
uint32_t hizWidth
 
uint32_t hizHeight
 
float camEV {0.0f}
 
float4 camPosition
 
float4 camDirection
 
uint32_t ggxLutEIndex {UINT32_MAX}
 
uint32_t ggxLutEavgIndex {UINT32_MAX}
 
uint32_t ggxLutEIORIndex {UINT32_MAX}
 
uint32_t ggxLutEIORavgIndex {UINT32_MAX}
 
uint32_t ggxLutEIORInvIndex {UINT32_MAX}
 
uint32_t ggxLutEIORInvavgIndex {UINT32_MAX}
 
uint32_t sheenLtcIndex {UINT32_MAX}
 
uint32_t envMapTextureIndex {UINT32_MAX}
 
uint32_t envMapMarginalCDFIndex {UINT32_MAX}
 
uint32_t envMapConditionalCDFIndex {UINT32_MAX}
 
uint32_t envMapPrefilteredMips {0u}
 
uint32_t hasEnvMap {0u}
 
float3 envSHCoeffs [9] {}
 
uint32_t matcapTextureIndex {UINT32_MAX}
 
GSOffsetCount lights {}
 
GSOffsetCount emissiveClusters {}
 
GSOffsetCount lightBVHNodes {}
 
GSOffsetCount lightBVHLightIndices {}
 
uint32_t firstLightBVHBitmask {0u}
 
GSOffsetCount lightBVHGlobalIndices {}
 
uint32_t lightBVHValid {0u}
 
GSOffsetCount lightBVHDistantNodes {}
 
uint32_t energyCompensation {1u}
 
uint32_t ptAccumulatedFrames {0u}
 
uint32_t ptMaxBounces {4u}
 
float ptFireflyClamp {1.0f}
 
uint32_t ptSamplesPerPixel {1u}
 
uint32_t ptPrimaryLightVisibility {0u}
 
float4 sharcPreviousCameraPosition {}
 
uint32_t sharcEntries {0u}
 
float sharcSceneScale {50.0f}
 
float sharcRadianceScale {1000.0f}
 
uint32_t sharcAccumulationFrames {20u}
 
uint32_t sharcStaleFrames {60u}
 
float sharcRoughnessThreshold {0.4f}
 
uint32_t sharcEnabled {0u}
 
uint32_t sharcUpdateDownscale {5u}
 
uint32_t dbgShowOutline {0u}
 
uint32_t dbgViewFlags {0u}
 
uint32_t dbgMaterialFlags {0u}
 
uint32_t adaptiveMinSamples {32u}
 
float adaptiveThreshold {0.10f}
 
float rasterRTShadowBias {0.01f}
 

Member Data Documentation

◆ adaptiveMinSamples

uint32_t RendererUBO::adaptiveMinSamples {32u}

◆ adaptiveThreshold

float RendererUBO::adaptiveThreshold {0.10f}

◆ aperture

float RendererUBO::aperture {0.0f}

◆ apertureBlades

uint32_t RendererUBO::apertureBlades {0u}

◆ apertureRatio

float RendererUBO::apertureRatio {1.0f}

◆ apertureRotation

float RendererUBO::apertureRotation {0.0f}

◆ camDirection

float4 RendererUBO::camDirection

◆ cameraHistoryFrame

uint32_t RendererUBO::cameraHistoryFrame {UINT32_MAX}

◆ cameraProjection

uint32_t RendererUBO::cameraProjection {0u}

◆ camEV

float RendererUBO::camEV {0.0f}

◆ camPosition

float4 RendererUBO::camPosition

◆ dbgMaterialFlags

uint32_t RendererUBO::dbgMaterialFlags {0u}

◆ dbgShowOutline

uint32_t RendererUBO::dbgShowOutline {0u}

◆ dbgViewFlags

uint32_t RendererUBO::dbgViewFlags {0u}

◆ emissiveClusters

GSOffsetCount RendererUBO::emissiveClusters {}

◆ energyCompensation

uint32_t RendererUBO::energyCompensation {1u}

◆ envMapConditionalCDFIndex

uint32_t RendererUBO::envMapConditionalCDFIndex {UINT32_MAX}

◆ envMapMarginalCDFIndex

uint32_t RendererUBO::envMapMarginalCDFIndex {UINT32_MAX}

◆ envMapPrefilteredMips

uint32_t RendererUBO::envMapPrefilteredMips {0u}

◆ envMapTextureIndex

uint32_t RendererUBO::envMapTextureIndex {UINT32_MAX}

◆ envSHCoeffs

float3 RendererUBO::envSHCoeffs[9] {}

◆ fbHeight

float RendererUBO::fbHeight

◆ fbWidth

float RendererUBO::fbWidth

◆ firstLightBVHBitmask

uint32_t RendererUBO::firstLightBVHBitmask {0u}

◆ focalDistance

float RendererUBO::focalDistance {1e1}

◆ frameNumber

uint32_t RendererUBO::frameNumber

◆ ggxLutEavgIndex

uint32_t RendererUBO::ggxLutEavgIndex {UINT32_MAX}

◆ ggxLutEIndex

uint32_t RendererUBO::ggxLutEIndex {UINT32_MAX}

◆ ggxLutEIORavgIndex

uint32_t RendererUBO::ggxLutEIORavgIndex {UINT32_MAX}

◆ ggxLutEIORIndex

uint32_t RendererUBO::ggxLutEIORIndex {UINT32_MAX}

◆ ggxLutEIORInvavgIndex

uint32_t RendererUBO::ggxLutEIORInvavgIndex {UINT32_MAX}

◆ ggxLutEIORInvIndex

uint32_t RendererUBO::ggxLutEIORInvIndex {UINT32_MAX}

◆ hasEnvMap

uint32_t RendererUBO::hasEnvMap {0u}

◆ hizHeight

uint32_t RendererUBO::hizHeight

◆ hizLevels

uint32_t RendererUBO::hizLevels

◆ hizWidth

uint32_t RendererUBO::hizWidth

◆ instances

GSOffsetCount RendererUBO::instances

◆ inverseView

float4x4 RendererUBO::inverseView

◆ inverseViewProj

float4x4 RendererUBO::inverseViewProj

◆ lightBVHDistantNodes

GSOffsetCount RendererUBO::lightBVHDistantNodes {}

◆ lightBVHGlobalIndices

GSOffsetCount RendererUBO::lightBVHGlobalIndices {}

◆ lightBVHLightIndices

GSOffsetCount RendererUBO::lightBVHLightIndices {}

◆ lightBVHNodes

GSOffsetCount RendererUBO::lightBVHNodes {}

◆ lightBVHValid

uint32_t RendererUBO::lightBVHValid {0u}

◆ lights

GSOffsetCount RendererUBO::lights {}

◆ lodThreshold

float RendererUBO::lodThreshold {0.005f}

◆ matcapTextureIndex

uint32_t RendererUBO::matcapTextureIndex {UINT32_MAX}

◆ materials

GSOffsetCount RendererUBO::materials

◆ previousViewProj

float4x4 RendererUBO::previousViewProj

◆ proj

float4x4 RendererUBO::proj

◆ projPlanes

float4 RendererUBO::projPlanes

◆ ptAccumulatedFrames

uint32_t RendererUBO::ptAccumulatedFrames {0u}

◆ ptFireflyClamp

float RendererUBO::ptFireflyClamp {1.0f}

◆ ptMaxBounces

uint32_t RendererUBO::ptMaxBounces {4u}

◆ ptPrimaryLightVisibility

uint32_t RendererUBO::ptPrimaryLightVisibility {0u}

◆ ptSamplesPerPixel

uint32_t RendererUBO::ptSamplesPerPixel {1u}

◆ rasterRTShadowBias

float RendererUBO::rasterRTShadowBias {0.01f}

◆ sharcAccumulationFrames

uint32_t RendererUBO::sharcAccumulationFrames {20u}

◆ sharcEnabled

uint32_t RendererUBO::sharcEnabled {0u}

◆ sharcEntries

uint32_t RendererUBO::sharcEntries {0u}

◆ sharcPreviousCameraPosition

float4 RendererUBO::sharcPreviousCameraPosition {}

◆ sharcRadianceScale

float RendererUBO::sharcRadianceScale {1000.0f}

◆ sharcRoughnessThreshold

float RendererUBO::sharcRoughnessThreshold {0.4f}

◆ sharcSceneScale

float RendererUBO::sharcSceneScale {50.0f}

◆ sharcStaleFrames

uint32_t RendererUBO::sharcStaleFrames {60u}

◆ sharcUpdateDownscale

uint32_t RendererUBO::sharcUpdateDownscale {5u}

◆ sheenLtcIndex

uint32_t RendererUBO::sheenLtcIndex {UINT32_MAX}

◆ view

float4x4 RendererUBO::view

◆ zNear

float RendererUBO::zNear

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