Contents

sampleCount

The number of rows and columns in the layer map.

Declaration

var sampleCount: MTLSize { get set }

Discussion

The sampleCount property splits the logical viewport coordinate space into a 2D grid of equal-sized cells. Its depth value is always 0.

The default value is the same as maxSampleCount.

See Also

Inspecting the layer rate function parameters