dispatchThreadsPerTile(_:)
Encodes a command that invokes a tile shader function from the encoder’s current tile render pipeline state.
Declaration
func dispatchThreadsPerTile(_ threadsPerTile: MTLSize)Parameters
- threadsPerTile:
A Mtlsize instance that represents the number of threads the render pass uses per tile. Set the size’s Width and Height properties to values that are less than or equal to Tilewidth and Tileheight, respectively. Some GPU families only support square tile dispatches and require the same value for width and height. Set Depth to
1.