15#include <vsg/state/StateCommand.h>
35 std::vector<Child> children;
37 void compile(
Context& context)
override;
41 template<
class N,
class V>
44 for (
auto& child :
sc.children)
46 if ((
visitor.traversalMask & (
visitor.overrideMask | child.mask)) != MASK_OFF) child.stateCommand->accept(
visitor);
50 void traverse(Visitor& visitor)
override { t_traverse(*
this, visitor); }
51 void traverse(ConstVisitor& visitor)
const override { t_traverse(*
this, visitor); }
57 void write(
Output& output)
const override;
CommandBuffer encapsulates VkCommandBuffer.
Definition CommandBuffer.h:27
Definition StateSwitch.h:22
int compare(const Object &rhs_object) const override
compare two objects, return -1 if this object is less than rhs, return 0 if it's equal,...
ref_ptr< Object > clone(const CopyOp ©op={}) const override
Definition StateSwitch.h:53
Definition StateSwitch.h:30
std container adapter for allocating with MEMORY_AFFINITY_NODES
Definition Allocator.h:138