LiteFX::Rendering::Backends::DirectX12CommandBuffer::dispatchMeshIndirect¶
Executes a set of indirect mesh shader dispatches.
Synopsis¶
Declared in <litefx/rendering.hpp>
[[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;
Parameters¶
| Name | Description |
|---|---|
| batchBuffer | The buffer that contains the batches. |
| countBuffer | The buffer that contains the number of batches to execute. |
| offset | The offset (in bytes) to the first batch in the batchBuffer. |
| countOffset | The offset (in bytes) to the number of batches in the countBuffer. |
| maxBatches | The maximum number of batches executed, even if there are more batches in countBuffer. |
See Also¶
dispatch