Contents

CAMetalDrawable

A Metal drawable associated with a Core Animation layer.

Declaration

protocol CAMetalDrawable : MTLDrawable

Overview

A CAMetalLayer instance owns any instance that implements this protocol. Don’t implement this protocol yourself. See the CAMetalLayer reference for information on how to request drawable objects.

Topics

Getting the Drawable’s Texture

Getting the Owning Layer

See Also

Metal and OpenGL