init(threadgroupsPerGrid:)
Returns a new data layout for dispatching threadgroups over indirect buffer calls, with specified threadgroups per grid.
Declaration
init(threadgroupsPerGrid: (UInt32, UInt32, UInt32))Parameters
- threadgroupsPerGrid:
The number of threadgroups for the grid, in each dimension.