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

Method Execute

trinity/Tr2RenderNodeSprite2dScene.cpp:29–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29void Tr2RenderNodeSprite2dScene::Execute( const Span<const Tr2TextureAL>& destinations, const Span<TempOutput>& outputs, Be::Time realTime, Be::Time simTime, const Tr2ProfileTimer& rootTimer, Tr2RenderContext& renderContext )
30{
31 if( m_background )
32 {
33 m_background->Execute( destinations, {}, realTime, simTime, rootTimer, renderContext );
34 }
35 renderContext.m_esm.SetRenderTarget( 0, destinations[0] );
36 renderContext.m_esm.SetDepthStencilBuffer( {} );
37 renderContext.m_esm.SetFullScreenViewport();
38 m_scene->Update( realTime, simTime );
39 m_scene->Render( renderContext );
40}

Callers

nothing calls this directly

Calls 5

SetDepthStencilBufferMethod · 0.80
SetFullScreenViewportMethod · 0.80
SetRenderTargetMethod · 0.45
UpdateMethod · 0.45
RenderMethod · 0.45

Tested by

no test coverage detected