A layer that manages a pool of Metal drawables.
- iOS 8.0+
- macOS 10.11+
- tvOS 9.0+
- Mac Catalyst 13.0+Beta
- Core Animation
To use Metal for rendering in your app, use this class as the backing layer for a view by returning it from your view’s
layer class method. To render the layer’s content, use the
next method to retrieve a texture, then use it as a render target in a Metal rendering pipeline. After rendering each frame, you present the new content for display with the
present method of the command buffer you used for rendering.