Instance Property

texture

A Metal texture object that contains the drawable’s contents.

Required.

Declaration

var texture: MTLTexture { get }

Discussion

Use this object to configure a MTLRenderPipelineColorAttachmentDescriptor object to render to the drawable object.