Contents

cp_layer_renderer_capabilities_supported_tracking_areas_format

Returns the tracking areas format at the specified index in the layer capabilities.

Declaration

MTLPixelFormat cp_layer_renderer_capabilities_supported_tracking_areas_format(cp_layer_renderer_capabilities_t layer_capabilities, size_t index);

Parameters

  • layer_capabilities:

    The layer capabilities to query.

  • index:

    A zero-based index into the list of index formats.

Return Value

The pixel format at the specified index.

Discussion

Use this function to determine what tracking areas texture formats the layer supports.