IndicesType

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • Your indices are unsigned bytes

    Declaration

    Swift

    static let byte: CoglIndicesType
  • Your indices are unsigned shorts

    Declaration

    Swift

    static let short: CoglIndicesType
  • int

    Your indices are unsigned ints

    Declaration

    Swift

    static let int: CoglIndicesType