Instance Property

texture

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

Required.

Declaration

@property(readonly) id<MTLTexture> texture;

Discussion

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