Contents

tileWidth

The width of the tiles, in pixels, for the render command encoder.

Declaration

var tileWidth: Int { get }

Discussion

The value comes from the tileWidth property of the MTLRenderPassDescriptor at the time you create the render command encoder.

See Also

Drawing with tile shaders