MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / OnPresent

Method OnPresent

Source/Engine/Profiler/ProfilerGPU.cpp:151–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149}
150
151void ProfilerGPU::OnPresent()
152{
153 // End all current frame queries to prevent invalid event duration values
154 auto& buffer = Buffers[CurrentBuffer];
155 buffer.EndAllQueries();
156}
157
158void ProfilerGPU::OnPresentTime(float time)
159{

Callers

nothing calls this directly

Calls 1

EndAllQueriesMethod · 0.80

Tested by

no test coverage detected