MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / renderUI

Method renderUI

Source/Mogwai/Extensions/Capture/FrameCapture.cpp:68–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66 }
67
68 void FrameCapture::renderUI(Gui* pGui)
69 {
70 if (mShowUI)
71 {
72 auto w = Gui::Window(pGui, mName.c_str(), mShowUI, {}, { 800, 400 });
73
74 CaptureTrigger::renderBaseUI(w);
75
76 w.checkbox("Capture All Outputs", mCaptureAllOutputs);
77 w.tooltip("Capture all available outputs instead of the marked ones only.");
78
79 if (w.button("Capture Current Frame")) capture();
80 }
81 }
82
83 void FrameCapture::registerScriptBindings(pybind11::module& m)
84 {

Callers

nothing calls this directly

Calls 4

checkboxMethod · 0.80
tooltipMethod · 0.80
buttonMethod · 0.80
WindowFunction · 0.50

Tested by

no test coverage detected