<!--
{
  "availability" : [
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CompositorServices",
  "identifier" : "/documentation/CompositorServices/cp_layer_renderer_configuration_set_max_render_quality",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Compositor Services"
    ],
    "preciseIdentifier" : "c:@F@cp_layer_renderer_configuration_set_max_render_quality"
  },
  "title" : "cp_layer_renderer_configuration_set_max_render_quality"
}
-->

# cp_layer_renderer_configuration_set_max_render_quality

Set max render quality the layer can use when drawing to the drawables.

```
void cp_layer_renderer_configuration_set_max_render_quality(cp_layer_renderer_configuration_t configuration, cp_render_quality_t render_quality);
```

## Parameters

`configuration`

The layer configuration type to modify. The system
passes an instance of this type to the
[`makeConfiguration(capabilities:configuration:)`](/documentation/CompositorServices/CompositorLayerConfiguration/makeConfiguration(capabilities:configuration:))
method of your configuration provider.

`render_quality`

A value between between [0, 1].
This determines the max render quality at which drawing can happen.

## Discussion

Setting a higher max render quality will impact the resolution that is allocated for the drawable textures.
This memory will count against the app’s memory limit so should only be specified as high as renderer
can reasonably achieve frame rate at. During runtime, the render quality can be changed on the
layer renderer but will not impact memory usage, see [`cp_layer_renderer_set_render_quality`](/documentation/CompositorServices/cp_layer_renderer_set_render_quality).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)