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

Method Execute

trinity/RenderJob/TriStepSetDepthStencil.cpp:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18TriStepResult TriStepSetDepthStencil::Execute( Be::Time realTime, Be::Time simTime, Tr2RenderContext& renderContext )
19{
20 if( m_depthStencil )
21 {
22 return renderContext.m_esm.SetDepthStencilBuffer( *m_depthStencil ) ? RS_OK : RS_FAILED;
23 }
24
25 return renderContext.m_esm.SetDepthStencilBuffer( Tr2TextureAL() ) ? RS_OK : RS_FAILED;
26}

Callers

nothing calls this directly

Calls 2

SetDepthStencilBufferMethod · 0.80
Tr2TextureALClass · 0.50

Tested by

no test coverage detected