void Core::Render() { #ifndef FNK_FINAL static GpuTimer gpuTimer; if ( m_showAnalyticsGui ) { gpuTimer.Begin(); } #endif Timer timer; { BaseEntityGroup::Render(); VirtualMachine::Get()->Render(); } m_msRender = timer.GetTimeMs(); VirtualMachine::Get()->Gui(); if ( m_showAnalyticsGui ) { GuiStats(); #ifndef FNK_FINAL gpuTimer.End(); m_msGpu = gpuTimer.GetTimeMs(); #endif } }