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

Method Execute

trinity/RenderJob/TriStepRenderEffect.cpp:28–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28TriStepResult TriStepRenderEffect::Execute( Be::Time realTime, Be::Time simTime, Tr2RenderContext& renderContext )
29{
30 CCP_STATS_INC( rsRenderEffectCount );
31
32 if( m_effect )
33 {
34 if( m_shaderBuffer )
35 {
36 m_shaderBuffer->ApplyBuffer( renderContext );
37 }
38 Tr2Renderer::DrawTexture( renderContext, m_effect, m_tlTexCoord, m_brTexCoord );
39 }
40 return RS_OK;
41}

Callers

nothing calls this directly

Calls 1

ApplyBufferMethod · 0.80

Tested by

no test coverage detected