Contents

multisampleColorTexture

The multisample color sample texture to render into.

Declaration

var multisampleColorTexture: (any MTLTexture)? { get }

Discussion

The format of this texture is determined by the value of the colorPixelFormat and sampleCount properties.

The default value is nil. This value is also nil if the specified pixel format is MTLPixelFormat.invalid, or if sampleCount is less than or equal to 1.

See Also

Retrieving Render Target Information