15#include <vsg/core/Inherit.h>
16#include <vsg/core/ref_ptr.h>
29 template<
class N,
class V>
30 static void t_traverse(
N& node,
V&
visitor)
32 for (
auto& child : node.children) child->accept(
visitor);
40 void write(
Output& output)
const override;
42 using Children = std::vector<ref_ptr<vsg::Object>>;
47 children.push_back(child);
Definition ConstVisitor.h:172
Simple container class that has a list of vsg::Object as children.
Definition Objects.h:25
RecordTraversal traverses a scene graph doing view frustum culling and invoking state/commands to rec...
Definition RecordTraversal.h:69
std container adapter for allocating with MEMORY_AFFINITY_NODES
Definition Allocator.h:138