Instance Property

texture

A Metal texture object representing the drawable object’s content.

Required.

Declaration

var texture: MTLTexture { get }

Discussion

Use this object to configure a MTLRenderPipelineColorAttachmentDescriptor object for rendering to the drawable object’s content.