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

Method End

trinity/Tr2GpuProfiler.cpp:90–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88}
89
90void Tr2GpuProfiler::End( Tr2RenderContextAL& renderContext )
91{
92 if( m_capturing )
93 {
94 auto& last = m_zones[m_stack.back()];
95 m_stack.pop_back();
96 CR( last.query.End( renderContext ) );
97 last.timer.End( renderContext );
98
99 Zone capture;
100 capture.type = Zone::REGION_END;
101 m_zones.push_back( capture );
102 }
103}
104
105bool Tr2GpuProfiler::IsDataReady()
106{

Callers 13

RenderVolumetricsMethod · 0.45
~Tr2GpuProfilerZoneMethod · 0.45
RenderBatchesInOrderMethod · 0.45
RenderBatchGroupMethod · 0.45
RunSimulationMethod · 0.45
EmitParticlesMethod · 0.45
SortMethod · 0.45
RenderMethod · 0.45
EndExecuteMethod · 0.45
StopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected