| 34 | } |
| 35 | |
| 36 | TriStepResult 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 | } |
nothing calls this directly
no test coverage detected