Enums

The following enums are available globally.

  • Where we’d like an add to be executed. If you need immediate feedback, then be on the main thread and use MaplyThreadCurrent. Any is the default.

    See more

    Declaration

    Objective-C

    enum MaplyThreadMode : NSInteger {}

    Swift

    enum MaplyThreadMode : Int
  • The various image formats we support. RGBA is the default, and most expensive.

    See more

    Declaration

    Objective-C

    enum MaplyQuadImageFormat : NSInteger {}

    Swift

    enum MaplyQuadImageFormat : Int
  • The various types of attributes that can be passed in to shaders.

    See more

    Declaration

    Objective-C

    enum MaplyShaderAttrType : NSInteger {}

    Swift

    enum MaplyShaderAttrType : Int
  • Data type for the vector. Multi means it contains multiple types

    See more

    Declaration

    Objective-C

    enum MaplyVectorObjectType : NSInteger {}

    Swift

    enum MaplyVectorObjectType : Int