Instance Property

clearDepth

The depth clear value used to generate the currentRenderPassDescriptor object.

Declaration

var clearDepth: Double { get set }

Discussion

The default value is 1.0.

See Also

Configuring the Render Target Properties

var clearColor: MTLClearColor

The color clear value used to generate the currentRenderPassDescriptor object.

var clearStencil: UInt32

The stencil clear value used to generate the currentRenderPassDescriptor object.

var colorPixelFormat: MTLPixelFormat

The color pixel format for the current drawable's texture.

var sampleCount: Int

The sample count used to generate the multisampleColorTexture object.

var colorspace: CGColorSpace?

The color space of the rendered content.