void Dispatch (int threadsX, int threadsY, int threadsZ)

Remarks

The specified thread counts will be automatically divided by the thread group size defined in the shader to compute the final dispatch group count.

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

Parameters

NameTypeDescription
threadsX = 32 int The number of threads to dispatch in the X dimension.
threadsY = 32 int The number of threads to dispatch in the Y dimension.
threadsZ = 32 int The number of threads to dispatch in the Z dimension.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.