Instance Property

colorPixelFormat

The format for the currentDrawable object’s texture.

Declaration

var colorPixelFormat: MTLPixelFormat { get set }

Discussion

The default value is invalid.

See Also

Configuring the Render Target Properties

var clearColor: MTLClearColor

The color clear value used to generate the currentRenderPassDescriptor object.

var clearDepth: Double

The depth clear value used to generate the currentRenderPassDescriptor object.

var clearStencil: UInt32

The stencil clear value used to generate the currentRenderPassDescriptor object.

var sampleCount: Int

The sample count used to generate the multisampleColorTexture object.