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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software