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¶
| Name | Description |
|---|---|
| batchBuffer | The buffer that contains the batches. |
| offset | The offset (in bytes) to the first batch in the batchBuffer. |
| countBuffer | Represents the base interface for a DirectX 12 buffer implementation. |
| countOffset | A type for an unsigned 64 bit integer. |
| maxBatches | A type for an unsigned 32 bit integer. |
See Also¶
dispatch