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

Method Execute

trinity/RenderJob/TriStepPushDepthStencil.cpp:36–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36TriStepResult TriStepPushDepthStencil::Execute( Be::Time realTime, Be::Time simTime, Tr2RenderContext& renderContext )
37{
38 if( m_depthStencil )
39 {
40 return renderContext.m_esm.PushDepthStencilBuffer( *m_depthStencil ) ? RS_OK : RS_FAILED;
41 }
42 else if( m_pushCurrent )
43 {
44 renderContext.m_esm.PushDepthStencilBuffer();
45 return RS_OK;
46 }
47
48 renderContext.m_esm.PushDepthStencilBuffer( Tr2TextureAL() );
49 return RS_OK;
50}

Callers

nothing calls this directly

Calls 2

Tr2TextureALClass · 0.50

Tested by

no test coverage detected