Protocol

CAMetalDrawable

A displayable resource that can be rendered or written to by Metal.

Declaration

@protocol CAMetalDrawable

Topics

Using a Drawable Object as a Render Target

texture

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

Required.

Finding a Drawable’s Layer

layer

The layer that owns this drawable object.

Required.

Relationships

Inherits From

See Also

Metal and OpenGL

CAMetalLayer

A layer that manages a pool of Metal drawables.

CAEAGLLayer

A layer that supports drawing OpenGL content in iOS and tvOS applications.

Deprecated
CAEDRMetadata

Metadata describing how extended dynamic range (EDR) values should be tone mapped.

Beta
CAOpenGLLayer

A layer that provides a layer suitable for rendering OpenGL content.

Deprecated
CARenderer

A layer that allows an application to render a layer tree into a Core OpenGL context.

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