MCPcopy Create free account
hub / github.com/carbonengine/trinity / EndShadowRendering

Method EndShadowRendering

trinity/Tr2ShadowMap.cpp:267–276  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267void Tr2ShadowMap::EndShadowRendering( Tr2RenderContext& renderContext )
268{
269 CCP_STATS_ZONE( __FUNCTION__ );
270 renderContext.SetReadOnlyDepth( false );
271
272 //***** End shadow rendering *****//
273 renderContext.m_esm.PopRenderTarget();
274 renderContext.m_esm.PopDepthStencilBuffer();
275 renderContext.m_esm.PopViewport();
276}
277
278Tr2GpuResourcePool::Texture Tr2ShadowMap::DrawToShadowMapResult( Tr2RenderContext& renderContext, Tr2GpuResourcePool& gpuResourcePool, const Tr2TextureAL& depthMap, const Tr2TextureAL& cascadedShadowDepth, float upscaling )
279{

Callers 1

SetupCascadedShadowsMethod · 0.80

Calls 4

PopDepthStencilBufferMethod · 0.80
PopViewportMethod · 0.80
SetReadOnlyDepthMethod · 0.45
PopRenderTargetMethod · 0.45

Tested by

no test coverage detected