Contents

sampleCount

The number of samples in each pixel.

Declaration

var sampleCount: Int { get }

Discussion

If textureType is not MTLTextureType.type2DMultisample, this value is 1.

See Also

Querying texture attributes