166 template<
class DefinitionT >
172 void operator<< ( const std::function< void () >& cmds );
261 unsigned int nx = 1,
unsigned int ny = 1,
unsigned int nz = 1,
const Device & device() const
Retrieves the device associated with this compute pass.
Represents logical rendering device.
Definition: vppDevice.hpp:49
const ComputePipeline & pipeline(std::uint32_t iPipeline) const
Retrieves a pipeline associated with this compute pass and specified pipeline index.
Definition: vppPipelineCache.hpp:31
Represents compute pass.
Definition: vppComputePass.hpp:139
Set of commands that may be used anywhere (inside or outside rendering context).
Definition: vppCommands.hpp:333
The VPP namespace.
Definition: main.hpp:1
Set of commands that may be used outside rendering context.
Definition: vppCommands.hpp:52
Represents a sequence of Vulkan commands.
Definition: vppCommandBuffer.hpp:68
static void cmdDispatchIndirect(const IndirectBufferView &data, unsigned int index, CommandBuffer hCmdBuffer=CommandBuffer())
Generates a command to dispatch specified item of indirect dispatch buffer.
Definition: vppBufferView.hpp:183
static void cmdDispatch(unsigned int nx=1, unsigned int ny=1, unsigned int nz=1, CommandBuffer hCmdBuffer=CommandBuffer())
Generates a command which starts execution of currently selected pipeline in the compute pass...
Pipeline layout template for a compute pipeline. Use to create actual pipeline layout (Vulkan objects...
Definition: vppPipelineLayout.hpp:206
Compiled pipeline class for compute pipelines.
Definition: vppPipeline.hpp:87
ComputePass(const Device &hDevice)
Construct a compute pass.
const PipelineCache & pipelineCache() const
Retrieves the pipeline cache associated with this compute pass.
std::uint32_t addPipeline(const ComputePipelineLayout< DefinitionT > layout)
Registers a pipeline with this compute pass. Returns pipeline index.