Instance Property

depthPlane

The depth plane of the texture used for rendering to the attachment.

Declaration

var depthPlane: Int { get set }

Discussion

If the texture is not a 3D texture, then this property is ignored.

The default value is 0.

See Also

Specifying the Texture for the Attachment

var texture: MTLTexture?

The texture object associated with this attachment.

var level: Int

The mipmap level of the texture used for rendering to the attachment.

var slice: Int

The slice of the texture used for rendering to the attachment.