---
title: cp_layer_renderer_configuration_get_tracking_areas_usage
framework: Compositor Services
role: symbol
role_heading: Function
platforms: [macOS 26.0+, visionOS 26.0+]
path: compositorservices/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.

## Declaration

```occ
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 doc://com.apple.compositorservices/documentation/CompositorServices/CompositorLayerConfiguration/makeConfiguration(capabilities:configuration:) method of your configuration provider.

## Return Value

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

## Discussion

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