CompositorLayerConfiguration
An interface for specifying the texture configurations and rendering behaviors to use with your Metal rendering engine.
Declaration
@MainActor @preconcurrency protocol CompositorLayerConfigurationMentioned in
Overview
If you use a custom configuration for your Metal rendering engine, adopt this protocol in a custom type and use it to specify the configuration options you need. In your custom type, implement the makeConfiguration(capabilities:configuration:) method and use it to modify the default set of rendering options. When specifying your configuration, validate choices against the actual capabilities of the current device.
For information on how to specify custom configuration options for your rendering engine, see Drawing fully immersive content using Metal.