Instance Property

depthStencilTexture

A packed depth/stencil texture attached to the currentDrawable object’s texture.

Declaration

var depthStencilTexture: MTLTexture? { get }

Discussion

The value of this property is generated from the value of depthStencilPixelFormat.

The default value is nil. This value is also nil if the specified pixel format is invalid.

See Also

Generated Render Target Objects

var currentRenderPassDescriptor: MTLRenderPassDescriptor?

A render pass descriptor generated from the drawable’s texture, the view’s buffers, and the view’s clear values.

var multisampleColorTexture: MTLTexture?

A multisample color sample texture resolved into the currentDrawable object’s texture.