15 #include <vsg/commands/BindVertexBuffers.h>
16 #include <vsg/commands/Draw.h>
17 #include <vsg/nodes/StateGroup.h>
18 #include <vsg/state/BindDescriptorSet.h>
19 #include <vsg/state/DescriptorBuffer.h>
20 #include <vsg/text/TextTechnique.h>
26 vec3 position =
vec3(0.0f, 0.0f, 0.0f);
27 float billboardAutoScaleDistance = 0.0;
28 vec3 horizontal =
vec3(1.0f, 0.0f, 0.0f);
29 float horizontalAlignment = 0.0;
30 vec3 vertical =
vec3(0.0f, 1.0f, 0.0f);
31 float verticalAlignment = 0.0;
32 vec4 color =
vec4(1.0f, 1.0f, 1.0f, 1.0f);
33 vec4 outlineColor =
vec4(0.0f, 0.0f, 0.0f, 1.0f);
34 float outlineWidth = 0.0f;
41 template<
class N,
class V>
42 static void t_traverse(N& node, V& visitor)
44 if (node.scenegraph) node.scenegraph->accept(visitor);
47 void traverse(
Visitor& visitor)
override { t_traverse(*
this, visitor); }
48 void traverse(
ConstVisitor& visitor)
const override { t_traverse(*
this, visitor); }
49 void traverse(
RecordTraversal& visitor)
const override { t_traverse(*
this, visitor); }
53 dbox extents()
const override {
return textExtents; }
Definition: ConstVisitor.h:147
Definition: GpuLayoutTechnique.h:39
RecordTraversal traverses a scene graph doing view frustum culling and invoking state/commands to rec...
Definition: RecordTraversal.h:61
Definition: TextGroup.h:27
Definition: Visitor.h:147
Definition: GpuLayoutTechnique.h:25