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

Method addButton

Source/Falcor/Utils/UI/Gui.cpp:674–679  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

672}
673
674bool GuiImpl::addButton(const char label[], bool sameLine)
675{
676 if (sameLine)
677 ImGui::SameLine();
678 return ImGui::Button(label);
679}
680
681bool GuiImpl::addRadioButtons(const Gui::RadioButtonGroup& buttons, uint32_t& activeID)
682{

Callers 1

buttonMethod · 0.80

Calls 1

ButtonClass · 0.85

Tested by

no test coverage detected