Instance Property

slice

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

Declaration

var slice: Int { get set }

Discussion

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 depthPlane: Int

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