LayerRenderer.Configuration
A type that stores the texture formats, layout information, and other details you use to configure your rendering loop code.
Declaration
struct ConfigurationMentioned in
Overview
A LayerRenderer.Configuration type stores the configuration options for your app’s LayerRenderer object. When configuring your app’s CompositorLayer type, use this type to specify information about the texture layouts, pixel formats, and rendering options you want. The system uses the provided information to initialize the LayerRenderer object. It also uses the information to create the Metal textures and other data structures that you use for each frame of content.
You don’t create this type directly. When implementing the makeConfiguration(capabilities:configuration:) method of your CompositorLayerConfiguration type, the system passes a set of default configuration values for you to modify.