MCPcopy Create free account
hub / github.com/NVIDIA-RTX/RTXPT / ScriptProgressUI

Method ScriptProgressUI

Rtxpt/SampleCommon/CaptureScriptManager.cpp:65–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65bool 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
93void CaptureScriptManager::ScriptMainUI(const ImVec4 & warnColor, const ImVec4 & categoryColor, float indent, float currentScale)
94{

Callers 1

BuildUIScriptsAndEtcMethod · 0.80

Calls 1

Tested by

no test coverage detected