vsgImGui 0.5.0
VulkanSceneGraph, ImGui and ImPlot integration library
Loading...
Searching...
No Matches
vsgImGui::RenderImGui Class Reference
Inheritance diagram for vsgImGui::RenderImGui:
Collaboration diagram for vsgImGui::RenderImGui:

Public Types

using LegacyFunction = std::function<bool()>
 std::function signature used for older vsgImGui versions
 

Public Member Functions

 RenderImGui (const vsg::ref_ptr< vsg::Window > &window, bool useClearAttachments=false)
 
 RenderImGui (vsg::ref_ptr< vsg::Device > device, uint32_t queueFamily, vsg::ref_ptr< vsg::RenderPass > renderPass, uint32_t minImageCount, uint32_t imageCount, VkExtent2D imageSize, bool useClearAttachments=false)
 
template<typename... Args>
 RenderImGui (const vsg::ref_ptr< vsg::Window > &window, Args &&... args)
 
template<typename... Args>
 RenderImGui (const vsg::ref_ptr< vsg::Window > &window, Args &&... args, bool useClearAttachments)
 
void add (const LegacyFunction &legacyFunc)
 add a GUI rendering component that provides the ImGui calls to render the required GUI elements.
 
void add (vsg::ref_ptr< vsg::Node > child)
 add a child, equivalent to Group::addChild(..) but adds compatibility with the RenderImGui constructor
 
void accept (vsg::RecordTraversal &rt) const override
 

The documentation for this class was generated from the following file: