Instance Property

tileWidth

The width of the tile, in pixels, for this render pass.

Required.

Declaration

var tileWidth: Int { get }

Discussion

The width of the tile is specified in the render pass descriptor used to create the render command encoder. See tileWidth.

See Also

Executing a Tile Function

func setRenderPipelineState(MTLRenderPipelineState)

Sets the current render pipeline state object.

Required.

var tileHeight: Int

The height of the tile, in pixels, for this render pass.

Required.

func dispatchThreadsPerTile(MTLSize)

Encodes a dispatch call to perform a midrender compute operation.

Required.