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

Method ClearIfFail

trinity/RenderJob/TriStepRenderTexture.cpp:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43TriStepResult TriStepRenderTexture::ClearIfFail( bool result, Tr2RenderContext& renderContext )
44{
45 if( !result )
46 {
47 renderContext.Clear( CLEARFLAGS_TARGET, m_failClearColor, 0, 0 );
48 }
49 return RS_OK;
50}
51
52TriStepResult TriStepRenderTexture::Execute( Be::Time realTime, Be::Time simTime, Tr2RenderContext& renderContext )
53{

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected