LiteFX::Rendering::ICommandBuffer::dispatchMeshIndirect¶
Executes a set of indirect mesh shader dispatches.
Synopses¶
Declared in <litefx/rendering_api.hpp>
Executes a set of indirect mesh shader dispatches.
[[dllimport, dllexport]] void dispatchMeshIndirect(
IBuffer const& batchBuffer,
UInt32 batchCount,
UInt64 offset = 0) const noexcept;
Executes a set of indirect mesh shader dispatches.
[[dllimport, dllexport]] void dispatchMeshIndirect(
IBuffer const& batchBuffer,
IBuffer 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. |
| batchCount | The number of batches in the buffer to execute. |
| offset | The offset (in bytes) to the first batch in the batchBuffer. |
| countBuffer | The buffer that contains the number of batches to execute. |
| 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¶
dispatchMesh
dispatch