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

Method SetUseShadows

Hydrogent/src/HnRenderDelegate.cpp:708–716  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

706}
707
708void HnRenderDelegate::SetUseShadows(bool UseShadows)
709{
710 if (UseShadows && !m_USDRenderer->GetSettings().EnableShadows)
711 {
712 LOG_WARNING_MESSAGE("Shadows are not enabled in the renderer settings. Shadows will not be used");
713 return;
714 }
715 m_RenderParam->SetUseShadows(UseShadows);
716}
717
718Uint32 HnRenderDelegate::GetShadowPassFrameAttribsOffset(Uint32 LightId) const
719{

Callers 1

HnRenderDelegateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected