MCPcopy Create free account
hub / github.com/defold/defold / Delete

Method Delete

engine/profiler/src/profiler_render.cpp:726–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

724 }
725
726 void RenderProfile::Delete(RenderProfile* render_profile)
727 {
728 ClearTransientTextLayouts(render_profile);
729 ClearCachedTextLayouts(render_profile);
730 FlushRecording(render_profile, 0);
731 DeleteProfilerFrame(render_profile->m_CurrentFrame);
732 DeleteProfilerFrame(render_profile->m_LastPeakFrame);
733 delete render_profile;
734 }
735
736 HRenderProfile NewRenderProfile(float fps)
737 {

Callers

nothing calls this directly

Calls 4

ClearCachedTextLayoutsFunction · 0.85
FlushRecordingFunction · 0.85
DeleteProfilerFrameFunction · 0.85

Tested by

no test coverage detected