SnapshotError

@_spi(Experimental)
public enum SnapshotError : Error

Errors related to rendered snapshots

  • No metal view available. Catastrophic error.

    Declaration

    Swift

    case noMetalView
  • Metal texture not present in mapView.

    Declaration

    Swift

    case invalidTexture
  • Texture failed to convert to CGImage

    Declaration

    Swift

    case textureConversionFailed
  • Metal validation is enabled, unsupported configuration

    Declaration

    Swift

    case metalValidationEnabled
  • Converted image is empty in snapshot

    Declaration

    Swift

    case convertedImageIsEmpty