BitmapError

public extension BitmapError
  • Cast constructor, converting any binary integer to a BitmapError.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • Generic failure code, something went wrong.

    Declaration

    Swift

    static let failed: CoglBitmapError
  • Unknown image type.

    Declaration

    Swift

    static let unknownType: CoglBitmapError
  • An image file was broken somehow.

    Declaration

    Swift

    static let corruptImage: CoglBitmapError