cp_layer_renderer_configuration_get_drawable_render_context_stencil_format
Returns the pixel format to use for the stencil texture in drawable’s render context.
Declaration
MTLPixelFormat cp_layer_renderer_configuration_get_drawable_render_context_stencil_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 use for the drawable’s render context stencil textures.