The color space of the rendered content.
- iOS 13.0+Beta
- macOS 10.11+
- UIKit for Mac 13.0+Beta
- tvOS 13.0+Beta
Set this value to allow the rendered content to be color-matched to the color space of the context containing this layer (which is typically the display’s color space).
The default value is
nil, indicating that the rendered content is not color-matched.
Configuring the Metal Layer
var framebufferOnly: Bool
A Boolean value that determines whether the layer’s textures are restricted for use as framebuffer attachments.
var displaySyncEnabled: Bool
A Boolean value that determines whether the Metal layer and it's drawables are synchronized with the display's refresh rate.
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