The class definitions for the Vulkan command nodes of the scene graph can be found in the VulkanSceneGraph/include/vsg/commands directory. Examples that illustrate use of various command classes can be found in the vsgExamples/examples/commands directory.

Command base and group classes

Class Header Functionality
vsg::Compilable Compilable.h Base class for objects that can be compiled
vsg::Command Command.h Base class for vkCmd* types
vsg::Commands Commands.h Group of vsg::Command

Binding index and vertex array buffers

Class Header Functionality
vsg::BindIndexBuffer BindIndexBuffer.h vkCmdBindIndexBuffer
vsg::BindVertexBuffers BindVertexBuffers.h vkCmdBindVertexBuffers

Draw primitive commands

Class Header Functionality
vsg::Draw Draw.h vkDraw
vsg::DrawIndexed DrawIndexed.h vkDrawIndexed
vsg::DrawIndexedIndirect DrawIndexedIndirect.h vkCmdDrawIndexedIndirect
vsg::DrawIndirectCommand DrawIndirectCommand.h vkCmdDrawIndirectCommand
vsg::DrawIndirect DrawIndirect.h vkCmdDrawIndirect

Copy commands

Class Header Functionality
vsg::CopyImage CopyImage.h  
vsg::CopyImageToBuffer CopyImageToBuffer.h  
vsg::CopyImageViewToWindow CopyImageViewToWindow.h  
vsg::CopyAndReleaseBuffer CopyAndReleaseBuffer.h  

Image commands

Class Header Functionality
vsg::BlitImage BlitImage.h  
vsg::ResolveImage ResolveImage.h  

Compute commands

Class Header Functionality
vsg::Dispatch Dispatch.h  

Syncronization commands

Class Header Functionality
vsg::Event Event.h  
vsg::PipelineBarrier PipelineBarrier.h  

Higher level commands

Class Header Functionality
vsg::ClearAttachments ClearAttachments.h  
vsg::ExecuteCommands ExecuteCommands.h  
vsg::NextSubPass NextSubPass.h  

Dynamic state commands

Class Header Functionality
vsg::SetDepthBias SetDepthBias.h  
vsg::SetLineWidth SetLineWidth.h  
vsg::SetScissor SetScissor.h  
vsg::SetViewport SetViewport.h  

Query commands

Class Header Functionality
vsg::BeginQuery BeginQuery.h  
vsg::EndQuery EndQuery.h  
vsg::ResetQueryPool ResetQueryPool.h  
vsg::CopyQueryPoolResults CopyQueryPoolResults.h  
vsg::WriteTimestamp WriteTimestamp.h  
Prev: Nodes Next: State