Instance Property

imageblockSampleLength

The per-sample size, in bytes, of the largest explicit imageblock layout in the render pass.

Declaration

var imageblockSampleLength: Int { get set }

Discussion

If imageBlockSampleLength isn't specified, Metal determines the imageblock sample length from the render pass attachment formats. If any render pipelines bound to the encoder reference imageblocks with explicit layout, imageBlockSampleLength must be specified.

See Also

Specifying Tile Shading Parameters

var threadgroupMemoryLength: Int

The per-tile size, in bytes, of the persistent threadgroup memory allocation.

var tileWidth: Int

The tile width, in pixels.

var tileHeight: Int

The tile height, in pixels.