Contents

supportedColorFormats(options:)

Returns an array of formats that the layer supports for its color textures

Declaration

func supportedColorFormats(options: LayerRenderer.Capabilities.SupportedColorFormatsOptions) -> [MTLPixelFormat]

Parameters

  • options:

    Specific options you want the formats of the color textures to be supported with. The function returns only color formats that are supported with the specified options.

Discussion

Call this function to determine which pixel arrangements and characteristics the layer supports for its color textures.