Skip to content

LiteFX::Rendering::Backends::DirectX12CommandBuffer::dispatchIndirect

Executes a set of indirect dispatches.

Synopsis

Declared in <litefx/backends/dx12.hpp>

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

Parameters

NameDescription
batchBufferThe buffer that contains the batches.
offsetThe offset (in bytes) to the first batch in the batchBuffer.
countBufferRepresents the base interface for a DirectX 12 buffer implementation.
countOffsetA type for an unsigned 64 bit integer.
maxBatchesA type for an unsigned 32 bit integer.

See Also

dispatch