15 #include <vsg/core/Array.h>
16 #include <vsg/core/Array2D.h>
17 #include <vsg/core/Array3D.h>
18 #include <vsg/core/Mask.h>
19 #include <vsg/core/Value.h>
37 class MatrixTransform;
41 class VertexIndexDraw;
47 class DirectionalLight;
65 class BindDescriptorSet;
66 class BindDescriptorSets;
67 class BindViewDescriptorSets;
69 class DescriptorBuffer;
70 class DescriptorImage;
72 class BindVertexBuffers;
73 class BindIndexBuffer;
74 class BindComputePipeline;
75 class BindGraphicsPipeline;
76 class BindRayTracingPipeline;
77 class GraphicsPipeline;
78 class ComputePipeline;
79 class RayTracingPipeline;
83 class GraphicsPipelineState;
84 class VertexInputState;
85 class InputAssemblyState;
86 class TessellationState;
88 class RasterizationState;
89 class MultisampleState;
90 class DepthStencilState;
91 class ColorBlendState;
94 class ClearAttachments;
95 class ClearColorImage;
96 class ClearDepthStencilImage;
101 class WriteTimestamp;
102 class CopyQueryPoolResults;
106 class DrawMeshTasksIndirect;
107 class DrawMeshTasksIndirectCount;
112 class ExposeWindowEvent;
113 class ConfigureWindowEvent;
114 class CloseWindowEvent;
119 class KeyReleaseEvent;
121 class ButtonPressEvent;
122 class ButtonReleaseEvent;
125 class TouchDownEvent;
127 class TouchMoveEvent;
128 class ScrollWheelEvent;
129 class TerminateEvent;
134 class ShaderCompileSettings;
151 Mask traversalMask = MASK_ALL;
152 Mask overrideMask = MASK_OFF;
154 virtual void apply(
const Object&);
155 virtual void apply(
const Objects&);
156 virtual void apply(
const External&);
157 virtual void apply(
const Data&);
160 virtual void apply(
const stringValue&);
161 virtual void apply(
const wstringValue&);
162 virtual void apply(
const boolValue&);
163 virtual void apply(
const intValue&);
164 virtual void apply(
const uintValue&);
165 virtual void apply(
const floatValue&);
166 virtual void apply(
const doubleValue&);
167 virtual void apply(
const vec2Value&);
168 virtual void apply(
const vec3Value&);
169 virtual void apply(
const vec4Value&);
170 virtual void apply(
const dvec2Value&);
171 virtual void apply(
const dvec3Value&);
172 virtual void apply(
const dvec4Value&);
173 virtual void apply(
const bvec2Value&);
174 virtual void apply(
const bvec3Value&);
175 virtual void apply(
const bvec4Value&);
176 virtual void apply(
const ubvec2Value&);
177 virtual void apply(
const ubvec3Value&);
178 virtual void apply(
const ubvec4Value&);
179 virtual void apply(
const svec2Value&);
180 virtual void apply(
const svec3Value&);
181 virtual void apply(
const svec4Value&);
182 virtual void apply(
const usvec2Value&);
183 virtual void apply(
const usvec3Value&);
184 virtual void apply(
const usvec4Value&);
185 virtual void apply(
const ivec2Value&);
186 virtual void apply(
const ivec3Value&);
187 virtual void apply(
const ivec4Value&);
188 virtual void apply(
const uivec2Value&);
189 virtual void apply(
const uivec3Value&);
190 virtual void apply(
const uivec4Value&);
193 virtual void apply(
const byteArray&);
194 virtual void apply(
const ubyteArray&);
195 virtual void apply(
const shortArray&);
196 virtual void apply(
const ushortArray&);
197 virtual void apply(
const intArray&);
198 virtual void apply(
const uintArray&);
199 virtual void apply(
const floatArray&);
200 virtual void apply(
const doubleArray&);
201 virtual void apply(
const vec2Array&);
202 virtual void apply(
const vec3Array&);
203 virtual void apply(
const vec4Array&);
204 virtual void apply(
const dvec2Array&);
205 virtual void apply(
const dvec3Array&);
206 virtual void apply(
const dvec4Array&);
207 virtual void apply(
const bvec2Array&);
208 virtual void apply(
const bvec3Array&);
209 virtual void apply(
const bvec4Array&);
210 virtual void apply(
const svec2Array&);
211 virtual void apply(
const svec3Array&);
212 virtual void apply(
const svec4Array&);
213 virtual void apply(
const ivec2Array&);
214 virtual void apply(
const ivec3Array&);
215 virtual void apply(
const ivec4Array&);
216 virtual void apply(
const ubvec2Array&);
217 virtual void apply(
const ubvec3Array&);
218 virtual void apply(
const ubvec4Array&);
219 virtual void apply(
const usvec2Array&);
220 virtual void apply(
const usvec3Array&);
221 virtual void apply(
const usvec4Array&);
222 virtual void apply(
const uivec2Array&);
223 virtual void apply(
const uivec3Array&);
224 virtual void apply(
const uivec4Array&);
225 virtual void apply(
const mat4Array&);
226 virtual void apply(
const dmat4Array&);
227 virtual void apply(
const block64Array&);
228 virtual void apply(
const block128Array&);
231 virtual void apply(
const ubyteArray2D&);
232 virtual void apply(
const ushortArray2D&);
233 virtual void apply(
const uintArray2D&);
234 virtual void apply(
const floatArray2D&);
235 virtual void apply(
const doubleArray2D&);
236 virtual void apply(
const vec2Array2D&);
237 virtual void apply(
const vec3Array2D&);
238 virtual void apply(
const vec4Array2D&);
239 virtual void apply(
const dvec2Array2D&);
240 virtual void apply(
const dvec3Array2D&);
241 virtual void apply(
const dvec4Array2D&);
242 virtual void apply(
const bvec2Array2D&);
243 virtual void apply(
const bvec3Array2D&);
244 virtual void apply(
const bvec4Array2D&);
245 virtual void apply(
const svec2Array2D&);
246 virtual void apply(
const svec3Array2D&);
247 virtual void apply(
const svec4Array2D&);
248 virtual void apply(
const ivec2Array2D&);
249 virtual void apply(
const ivec3Array2D&);
250 virtual void apply(
const ivec4Array2D&);
251 virtual void apply(
const ubvec2Array2D&);
252 virtual void apply(
const ubvec3Array2D&);
253 virtual void apply(
const ubvec4Array2D&);
254 virtual void apply(
const usvec2Array2D&);
255 virtual void apply(
const usvec3Array2D&);
256 virtual void apply(
const usvec4Array2D&);
257 virtual void apply(
const uivec2Array2D&);
258 virtual void apply(
const uivec3Array2D&);
259 virtual void apply(
const uivec4Array2D&);
260 virtual void apply(
const block64Array2D&);
261 virtual void apply(
const block128Array2D&);
264 virtual void apply(
const ubyteArray3D&);
265 virtual void apply(
const ushortArray3D&);
266 virtual void apply(
const uintArray3D&);
267 virtual void apply(
const floatArray3D&);
268 virtual void apply(
const doubleArray3D&);
269 virtual void apply(
const vec2Array3D&);
270 virtual void apply(
const vec3Array3D&);
271 virtual void apply(
const vec4Array3D&);
272 virtual void apply(
const dvec2Array3D&);
273 virtual void apply(
const dvec3Array3D&);
274 virtual void apply(
const dvec4Array3D&);
275 virtual void apply(
const ubvec2Array3D&);
276 virtual void apply(
const ubvec3Array3D&);
277 virtual void apply(
const ubvec4Array3D&);
278 virtual void apply(
const block64Array3D&);
279 virtual void apply(
const block128Array3D&);
282 virtual void apply(
const Node&);
284 virtual void apply(
const Commands&);
285 virtual void apply(
const Group&);
287 virtual void apply(
const LOD&);
288 virtual void apply(
const PagedLOD&);
291 virtual void apply(
const CullNode&);
294 virtual void apply(
const Geometry&);
298 virtual void apply(
const Bin&);
299 virtual void apply(
const Switch&);
300 virtual void apply(
const Light&);
307 virtual void apply(
const Text&);
314 virtual void apply(
const Command&);
346 virtual void apply(
const Draw&);
354 virtual void apply(
const EndQuery&);
364 virtual void apply(
const UIEvent&);
371 virtual void apply(
const KeyEvent&);
391 virtual void apply(
const Camera&);
394 virtual void apply(
const View&);
395 virtual void apply(
const Viewer&);
407 void Array<T>::accept(ConstVisitor& visitor)
const { visitor.apply(*
this); }
411 void Array2D<T>::accept(ConstVisitor& visitor)
const { visitor.apply(*
this); }
415 void Array3D<T>::accept(ConstVisitor& visitor)
const { visitor.apply(*
this); }
AmbientLight represents an ambient light source.
Definition: Light.h:42
Definition: AnimationPath.h:27
BeginQuery command encapsulates vkCmdBeginQuery call and associated functionality.
Definition: BeginQuery.h:22
BindComputePipeline state command encapsulates the vkCmdBindPipeline call for a ComputePipeline.
Definition: ComputePipeline.h:65
Definition: BindDescriptorSet.h:90
BindDescriptorSets state command encapsulates vkCmdBindDescriptorSets call and associated settings fo...
Definition: BindDescriptorSet.h:25
BindGraphicsPipeline state command encapsulates the vkCmdBindPipeline call for a GraphicsPipeline.
Definition: GraphicsPipeline.h:105
BindIndexBuffer command encapsulates vkCmdBindIndexBuffer call and associated settings.
Definition: BindIndexBuffer.h:28
BindRayTracingPipeline state command encapsulates vkCmdBindPipeline for a RayTracingPipeline.
Definition: RayTracingPipeline.h:85
BindVertexBuffers command encapsulates vkCmdBindVertexBuffers call and associated settings.
Definition: BindVertexBuffers.h:25
Definition: ViewDependentState.h:53
BufferInfo encapsulates the settings that map to VkDescriptorBufferInfo.
Definition: BufferInfo.h:27
ClearAttachments command encapsulates vkCmdClearAttachments functionality and associated settings.
Definition: ClearAttachments.h:22
ClearColorImage command encapsulates vkCmdClearColorImage functionality and associated settings.
Definition: ClearImage.h:23
ClearDepthStencilImage command encapsulates vkCmdClearDepthStencilImage functionality and associated ...
Definition: ClearImage.h:38
CloseWindowEvent represents a window close event.
Definition: WindowEvent.h:87
ColorBlendState encapsulates VkPipelineColorBlendStateCreateInfo settings passed when setting up Grap...
Definition: ColorBlendState.h:22
CommandBuffer encapsulates VkCommandBuffer.
Definition: CommandBuffer.h:27
CommandGraph is a group node that sits at the top of the scene graph and manages the recording of its...
Definition: CommandGraph.h:27
Command base class for encapsulating vkCmd* calls and associated settings.
Definition: Command.h:23
Definition: Commands.h:29
Base class for encapsulating nodes that have Vulkan objects associated with them that will need compi...
Definition: Compilable.h:23
ComputePipeline encapsulates compute VkPipeline and the VkComputePipelineCreateInfo settings used to ...
Definition: ComputePipeline.h:24
Definition: ConstVisitor.h:147
CopyQueryPoolResults commands encapsulates vkCmdCopyQueryPoolResults and associated settings.
Definition: CopyQueryPoolResults.h:23
CullNode that enables view frustum culling on a list of children.
Definition: CullGroup.h:23
Definition: CullNode.h:25
Definition: DepthSorted.h:27
DepthStencilState encapsulates VkPipelineDepthStencilStateCreateInfo settings passed when setting up ...
Definition: DepthStencilState.h:22
Definition: DescriptorBuffer.h:24
Definition: DescriptorImage.h:24
DescriptorSet encapsulates VkDescriptorSet and VkDescriptorSetAllocateInfo settings used to describe ...
Definition: DescriptorSet.h:26
Definition: Descriptor.h:26
DirectionalLight represents a directional light source - used for light sources that are treated as i...
Definition: Light.h:54
DrawIndexed command encapsulates vkCmdDrawIndexed call and associated settings.
Definition: DrawIndexed.h:24
DrawMeshTasksIndirectCount command encapsulates vkCmdDrawMeshTasksIndirectCountEXT call and associate...
Definition: DrawMeshTasksIndirectCount.h:23
DrawMeshTasksIndirect command encapsulates vkCmdDrawMeshTasksIndirectEXT call and associated paramete...
Definition: DrawMeshTasksIndirect.h:23
Definition: DrawMeshTasks.h:22
Draw command encapsulates vkCmdDraw call and associated settings.
Definition: Draw.h:24
DynamicState encapsulates VkPipelineDynamicStateCreateInfo settings passed when setting up GraphicsPi...
Definition: DynamicState.h:22
encapsulation of vkCmdEndQuery
Definition: EndQuery.h:22
ExposeWindowEvent represents a window expose event.
Definition: WindowEvent.h:41
Definition: External.h:31
FocusInEvent represents a window acquiring focus event.
Definition: WindowEvent.h:98
FocusOutEvent represents a window losing focus event.
Definition: WindowEvent.h:109
Definition: ApplicationEvent.h:37
FrameStamp represents the time and frame count of a specific frame.
Definition: FrameStamp.h:22
Definition: Geometry.h:30
Definition: GraphicsPipeline.h:29
GraphicsPipeline encapsulates graphics VkPipeline and the VkGraphicsPipelineCreateInfo settings used ...
Definition: GraphicsPipeline.h:55
Group node provides a list of children.
Definition: Group.h:24
KeyEvent is a base class for key events.
Definition: KeyEvent.h:286
KeyPressEvent represents a key press event.
Definition: KeyEvent.h:309
KeyReleaseEvent represents a key release event.
Definition: KeyEvent.h:320
MoveEvent represents a pointer move event.
Definition: PointerEvent.h:89
MultisampleState encapsulates VkPipelineMultisampleStateCreateInfo settings passed when setting up Gr...
Definition: MultisampleState.h:22
Simple container class that has a list of vsg::Object as children.
Definition: Objects.h:25
Definition: PagedLOD.h:36
PointLight represents a local point light source where all light radiants event from the light positi...
Definition: Light.h:68
PointerEvent is a base class for mouse pointer events.
Definition: PointerEvent.h:34
Definition: QuadGroup.h:29
QueryPool encapsulates the VkQueryPool and the VkQueryPoolCreateInfo settings used to set it up.
Definition: QueryPool.h:23
RasterizationState encapsulates VkPipelineRasterizationStateCreateInfo settings passed when setting u...
Definition: RasterizationState.h:22
Definition: RayTracingPipeline.h:26
Definition: RenderGraph.h:28
RenderPass encapsulation of VkRenderPass.
Definition: RenderPass.h:86
ResetQueryPool command encapsulates vkCmdResetQueryPool functionality.
Definition: ResetQueryPool.h:23
ResourceHints provides settings that help preallocation of Vulkan resources and memory.
Definition: ResourceHints.h:23
Definition: ShaderModule.h:28
ShaderStage encapsulates VkPipelineShaderStageCreateInfo settings passed when setting up GraphicsPipe...
Definition: ShaderStage.h:24
SpotLight represents a local point light source whose intensity varies as a spot light.
Definition: Light.h:82
Definition: StateCommand.h:24
Definition: StateGroup.h:32
Definition: StateSwitch.h:22
Switch node for toggling on/off recording of children.
Definition: Switch.h:25
TerminateEvent represents an application termination event.
Definition: ApplicationEvent.h:24
TessellationState encapsulates VkPipelineTessellationStateCreateInfo settings passed when setting up ...
Definition: TessellationState.h:22
Definition: TextGroup.h:27
Definition: TextLayout.h:35
Definition: TextTechnique.h:25
TouchDownEvent represents a touch down event.
Definition: TouchEvent.h:45
TouchEvent is a base class for touch events.
Definition: TouchEvent.h:24
TouchMoveEvent represents a touch move event.
Definition: TouchEvent.h:67
TouchUpEvent represents a touch up event.
Definition: TouchEvent.h:56
UIEvent is a base class for user interface events.
Definition: UIEvent.h:28
Definition: VertexDraw.h:25
Definition: VertexIndexDraw.h:25
View is a Group class that pairs a Camera that defines the view with a subgraph that defines the scen...
Definition: View.h:36
ViewportState encapsulates VkPipelineViewportStateCreateInfo settings passed when setting up Graphics...
Definition: ViewportState.h:24
WindowEvent is the base class for events related to a window.
Definition: WindowEvent.h:24
WriteTimestamp command encapsulates vkCmdWriteTimestamp call and settings passed to it.
Definition: WriteTimestamp.h:22