| 63 | } |
| 64 | |
| 65 | bool CaptureScriptManager::ScriptProgressUI() |
| 66 | { |
| 67 | if (!m_active && !m_start) |
| 68 | return false; |
| 69 | |
| 70 | if (m_resetAndWarmupCounter > 0) |
| 71 | { |
| 72 | ImGui::Text(""); |
| 73 | ImGui::TextWrapped("Running warm-up: %d out of %d", m_resetAndWarmupCounter, m_resetAndWarmupFrames); |
| 74 | } |
| 75 | if (!m_ui.RealtimeMode) |
| 76 | { |
| 77 | ImGui::TextWrapped("Accumulation mode, sample %d (out of %d target)", m_app.GetAccumulationSampleIndex(), m_ui.AccumulationTarget); |
| 78 | } |
| 79 | if (m_sequenceRecordCounter > 0) |
| 80 | { |
| 81 | ImGui::Text(""); |
| 82 | ImGui::TextWrapped("Running sequence export: %d", m_sequenceRecordCounter); |
| 83 | } |
| 84 | if (m_start) |
| 85 | { |
| 86 | ImGui::Text(""); |
| 87 | ImGui::TextWrapped("Starting (scene loading might still in progress)..."); |
| 88 | } |
| 89 | |
| 90 | return true; |
| 91 | } |
| 92 | |
| 93 | void CaptureScriptManager::ScriptMainUI(const ImVec4 & warnColor, const ImVec4 & categoryColor, float indent, float currentScale) |
| 94 | { |
no test coverage detected