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

Method beginGroup

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

Source from the content-addressed store, hash-verified

571}
572
573bool GuiImpl::beginGroup(const char name[], bool beginExpanded)
574{
575 std::string nameString(name);
576 ImGuiTreeNodeFlags flags = beginExpanded ? ImGuiTreeNodeFlags_DefaultOpen : 0;
577 bool visible = mGroupStackSize ? ImGui::TreeNodeEx(name, flags) : ImGui::CollapsingHeader(name, flags);
578 if (visible)
579 mGroupStackSize++;
580 return visible;
581}
582
583void GuiImpl::endGroup()
584{

Callers 1

GroupMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected