15#include <vsg/app/CommandGraph.h>
21 class ExecuteCommands;
31 VkBool32 occlusionQueryEnable = VK_FALSE;
32 VkQueryControlFlags queryFlags = 0;
33 VkQueryPipelineStatisticFlags pipelineStatistics = 0;
41 VkCommandBufferLevel level()
const override;
42 void reset()
override;
46 virtual ~SecondaryCommandGraph();
48 friend ExecuteCommands;
50 void _connect(ExecuteCommands* executeCommand);
51 void _disconnect(ExecuteCommands* executeCommand);
53 std::vector<ExecuteCommands*> _executeCommands;
57 using SecondaryCommandGraphs = std::vector<ref_ptr<SecondaryCommandGraph>>;
60 extern VSG_DECLSPEC ref_ptr<SecondaryCommandGraph> createSecondaryCommandGraphForView(ref_ptr<Window> window, ref_ptr<Camera> camera, ref_ptr<Node> scenegraph, uint32_t subpass,
bool assignHeadlight =
true);
RenderPass encapsulation of VkRenderPass.
Definition RenderPass.h:86
SecondaryCommandGraph is a specialization of CommandGraph that provides Vulkan secondary command buff...
Definition SecondaryCommandGraph.h:25
RenderPass * getRenderPass()
RenderPass to use passed to the VkCommandBufferInheritanceInfo, if renderPass is set it takes precede...
ref_ptr< RenderPass > renderPass
RenderPass to use passed to the VkCommandBufferInheritanceInfo in place of the framebuffer's or windo...
Definition SecondaryCommandGraph.h:36