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

Method OnBeginDraw

Source/Engine/Engine/Time.cpp:308–316  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

306}
307
308bool Time::OnBeginDraw(double time)
309{
310 if (Draw.OnTickBegin(time, GetFps(DrawFPS), 1.0f))
311 {
312 Current = &Draw;
313 return true;
314 }
315 return false;
316}
317
318void Time::OnEndUpdate()
319{

Callers

nothing calls this directly

Calls 2

GetFpsFunction · 0.85
OnTickBeginMethod · 0.80

Tested by

no test coverage detected