Skip to content

LiteFX::Rendering::Backends::VulkanCommandBuffer::dispatchMeshIndirect

Executes a set of indirect mesh shader dispatches.

Synopses

Declared in <litefx/backends/vulkan.hpp>

Executes a set of indirect mesh shader dispatches.

[[dllimport, dllexport]] virtual void dispatchMeshIndirect(
    IVulkanBuffer const& batchBuffer,
    UInt32 batchCount,
    UInt64 offset = 0) const noexcept override;

» more...

Executes a set of indirect mesh shader dispatches.

[[dllimport]] virtual void dispatchMeshIndirect(
    buffer_type const& batchBuffer,
    UInt32 batchCount,
    UInt64 offset = 0) const noexcept = 0;

» more...

Executes a set of indirect mesh shader dispatches.

[[dllimport, dllexport]] virtual void dispatchMeshIndirect(
    IVulkanBuffer const& batchBuffer,
    IVulkanBuffer const& countBuffer,
    UInt64 offset = 0,
    UInt64 countOffset = 0,
    UInt32 maxBatches = std::numeric_limits<UInt32>::max()) const noexcept override;

» more...

Executes a set of indirect mesh shader dispatches.

[[dllimport]] virtual void dispatchMeshIndirect(
    buffer_type const& batchBuffer,
    buffer_type const& countBuffer,
    UInt64 offset = 0,
    UInt64 countOffset = 0,
    UInt32 maxBatches = std::numeric_limits<UInt32>::max()) const noexcept = 0;

» more...

Parameters

NameDescription
batchBufferThe buffer that contains the batches.
batchCountThe number of batches in the buffer to execute.
offsetThe offset (in bytes) to the first batch in the batchBuffer.
countBufferThe buffer that contains the number of batches to execute.
countOffsetThe offset (in bytes) to the number of batches in the countBuffer.
maxBatchesThe maximum number of batches executed, even if there are more batches in countBuffer.

See Also

dispatchMesh

dispatch