| 27 | } |
| 28 | |
| 29 | void 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 | } |
nothing calls this directly
no test coverage detected