39 class VSGIMGUI_DECLSPEC
RenderImGui :
public vsg::Inherit<vsg::Group, RenderImGui>
42 RenderImGui(
const vsg::ref_ptr<vsg::Window>& window,
bool useClearAttachments =
false);
44 RenderImGui(vsg::ref_ptr<vsg::Device> device, uint32_t queueFamily,
45 vsg::ref_ptr<vsg::RenderPass> renderPass,
46 uint32_t minImageCount, uint32_t imageCount,
47 VkExtent2D imageSize,
bool useClearAttachments =
false);
49 template<
typename... Args>
50 RenderImGui(
const vsg::ref_ptr<vsg::Window>& window, Args&&... args) :
56 template<
typename... Args>
57 RenderImGui(
const vsg::ref_ptr<vsg::Window>& window, Args&&... args,
bool useClearAttachments) :
70 void add(vsg::ref_ptr<vsg::Node> child) { addChild(child); }
72 void accept(vsg::RecordTraversal& rt)
const override;
77 vsg::ref_ptr<vsg::Device> _device;
78 uint32_t _queueFamily;
79 vsg::ref_ptr<vsg::Queue> _queue;
80 vsg::ref_ptr<vsg::DescriptorPool> _descriptorPool;
82 vsg::ref_ptr<vsg::ClearAttachments> _clearAttachments;
84 void _init(
const vsg::ref_ptr<vsg::Window>& window,
bool useClearAttachments);
85 void _init(vsg::ref_ptr<vsg::Device> device, uint32_t queueFamily,
86 vsg::ref_ptr<vsg::RenderPass> renderPass,
87 uint32_t minImageCount, uint32_t imageCount,
88 VkExtent2D imageSize,
bool useClearAttachments);
void add(vsg::ref_ptr< vsg::Node > child)
add a child, equivalent to Group::addChild(..) but adds compatibility with the RenderImGui constructo...
Definition RenderImGui.h:70