MCPcopy Create free account
hub / github.com/DiligentGraphics/DiligentFX / SetInternalShaderParameters

Method SetInternalShaderParameters

PBR/src/PBR_Renderer.cpp:1884–1887  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1882}
1883
1884void PBR_Renderer::SetInternalShaderParameters(HLSL::PBRRendererShaderParameters& Renderer)
1885{
1886 Renderer.PrefilteredCubeLastMip = m_Settings.EnableIBL ? static_cast<float>(m_pPrefilteredEnvMapSRV->GetTexture()->GetDesc().MipLevels - 1) : 0.f;
1887}
1888
1889Uint32 PBR_Renderer::GetPBRPrimitiveAttribsSize(PSO_FLAGS Flags, Uint32 CustomDataSize) const
1890{

Callers 1

UpdateFrameConstantsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected