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

# cp_layer_renderer_configuration_set_supports_mtl4

Set whether the layer can use Metal4 when drawing to the drawables.

```
void cp_layer_renderer_configuration_set_supports_mtl4(cp_layer_renderer_configuration_t configuration, bool supports_mtl4);
```

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

`supports_mtl4`

Whether the layer supports using Metal4, otherwise defaults to Metal3.

---

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)