void DispatchIndirect (GpuBuffer indirectBuffer, System.UInt32 indirectElementOffset)

Remarks

indirectBuffer must be created with GpuBuffer.UsageFlags.IndirectDrawArguments and have an element size of 12 bytes.

indirectElementOffset is an element index into indirectBuffer, not a byte offset.

When called outside a graphics context, the dispatch runs immediately. When called inside a graphics context, the dispatch runs async.

Parameters

NameTypeDescription
indirectBuffer GpuBuffer The GPU buffer containing one or more dispatch argument entries.
indirectElementOffset = 0 System.UInt32 The index of the dispatch arguments element to use (each element = 12 bytes).
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.