Contents

texture

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

Declaration

var texture: any MTLTexture { get }

Discussion

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