GLUnitSystem

Objective-C

enum GLUnitSystem : uint8_t {}

Swift

@frozen enum GLUnitSystem : UInt8, @unchecked Sendable

Supported unit systems

  • International System of Units (SI)

    Declaration

    Objective-C

    GLUnitSystem_International

    Swift

    case international = 0
  • Imperial units

    Declaration

    Objective-C

    GLUnitSystem_Imperial

    Swift

    case imperial = 1
  • Nautical units

    Declaration

    Objective-C

    GLUnitSystem_Nautical

    Swift

    case nautical = 2