cp_layer_renderer_configuration_set_supports_mtl4
Set whether the layer can use Metal4 when drawing to the drawables.
Declaration
void cp_layer_renderer_configuration_set_supports_mtl4(cp_layer_renderer_configuration_t configuration, bool supports_mtl4);Parameters
- configuration:
The layer configuration type to modify. The system passes an instance of this type to the Makeconfiguration(capabilities:configuration:) method of your configuration provider.
- supports_mtl4:
Whether the layer supports using Metal4, otherwise defaults to Metal3.