cp_layer_renderer_configuration_get_tracking_areas_format
Returns the pixel format to apply to the layer’s tracking areas textures.
Declaration
MTLPixelFormat cp_layer_renderer_configuration_get_tracking_areas_format(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:) method of your configuration provider.
Return Value
The pixel format to apply to the layer’s tracking areas textures.
Discussion
The compositor creates the tracking areas textures using the pixel format information you provide.