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

Method SetDepthStencilBuffer

trinity/Shader/Tr2EffectStateManager.cpp:1154–1163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1152}
1153
1154bool Tr2EffectStateManager::SetDepthStencilBuffer( const Tr2TextureAL& ds )
1155{
1156 if( !SUCCEEDED( m_renderContext.SetDepthStencil( ds ) ) )
1157 {
1158 CCP_LOGERR( "Failed to set depth/stencil buffer" );
1159 return false;
1160 }
1161
1162 return true;
1163}
1164
1165void Tr2EffectStateManager::SetupContextResources()
1166{

Callers 10

ExecuteMethod · 0.80
ExecuteMethod · 0.80
InitRenderPassMethod · 0.80
StartRenderFaceMethod · 0.80
ExecuteMethod · 0.80
ClearOnFailureMethod · 0.80
RenderShadowsMethod · 0.80
BeginRenderPassFunction · 0.80
ExecuteMethod · 0.80

Calls 1

SetDepthStencilMethod · 0.45

Tested by

no test coverage detected