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

# cp_layer_renderer_configuration_get_tracking_areas_usage

Returns the texture usage value to apply to the layer’s tracking areas textures.

```
MTLTextureUsage cp_layer_renderer_configuration_get_tracking_areas_usage(cp_layer_renderer_configuration_t configuration);
```

## Parameters

`configuration`

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

## Return Value

The Metal texture usage value to apply to the layer’s tracking areas textures.

## Discussion

Metal optimizes texture-related operations based on the texture’s usage value.
The usage value can be a combination of options. For example, a texture
might be readable and writable. For more information, see
<doc://com.apple.documentation/documentation/Metal/MTLTextureUsage>.

---

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)