Contents

LayerRenderer.Configuration

A type that stores the texture formats, layout information, and other details you use to configure your rendering loop code.

Declaration

struct Configuration

Mentioned 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.

Topics

Configuring the color textures

Configuring the depth information

Configuring the texture layout

Configuring the foveation setting

Configurating the render context

Configuring quality level

Instance Properties

See Also

Configuring the layer renderer