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

Method HandleRenderTick

trinity/TriDeviceStub.cpp:16–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14
15
16void TriDevice::HandleRenderTick( Be::Time realTime, Be::Time simTime )
17{
18 if( m_renderJobs )
19 {
20 m_renderJobs->RunUpdate( realTime, simTime );
21 }
22
23 m_postUpdateCallbacks->Update();
24
25 CR_RETURN( Tr2RenderContext_GetMainThreadRenderContext().Present() );
26
27 Render();
28}
29
30// -- Smaller helpers to enable big methods like TriDevice::Render to be mostly API neutral.
31

Callers

nothing calls this directly

Calls 3

RunUpdateMethod · 0.80
UpdateMethod · 0.45
PresentMethod · 0.45

Tested by

no test coverage detected