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

Method OnEnd

Source/Engine/Graphics/RenderTask.cpp:118–126  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116}
117
118void RenderTask::OnEnd(GPUContext* context)
119{
120 GPUDevice::Instance->CurrentTask = _prevTask;
121
122 _prevTask = nullptr;
123 if (SwapChain)
124 SwapChain->End(this);
125 End(this, context);
126}
127
128void RenderTask::OnPresent(bool vsync)
129{

Callers

nothing calls this directly

Calls 3

OnEndFunction · 0.85
EndFunction · 0.50
EndMethod · 0.45

Tested by

no test coverage detected