Contents

cp_layer_renderer_configuration_get_tracking_areas_usage

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

Declaration

MTLTextureUsage cp_layer_renderer_configuration_get_tracking_areas_usage(cp_layer_renderer_configuration_t configuration);

Parameters

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