| 211 | } |
| 212 | |
| 213 | bool AppBase::Update() |
| 214 | { |
| 215 | META_FUNCTION_TASK(); |
| 216 | if (Platform::App::IsMinimized()) |
| 217 | return false; |
| 218 | |
| 219 | META_LOG("\n========================== FRAME {} UPDATING =========================", |
| 220 | m_context.IsInitialized() ? m_context.GetFrameIndex() : 0U); |
| 221 | |
| 222 | Rhi::ISystem::Get().CheckForChanges(); |
| 223 | |
| 224 | // Update HUD info in window title |
| 225 | if (m_settings.show_hud_in_window_title && |
| 226 | m_title_update_timer.GetElapsedSecondsD() >= g_title_update_interval_sec) |
| 227 | { |
| 228 | UpdateWindowTitle(); |
| 229 | m_title_update_timer.Reset(); |
| 230 | } |
| 231 | |
| 232 | GetAnimations().Update(); |
| 233 | return true; |
| 234 | } |
| 235 | |
| 236 | bool AppBase::Render() |
| 237 | { |
no test coverage detected