Enum MPSIntersectionDataType

java.lang.Object
java.lang.Enum<MPSIntersectionDataType>
org.robovm.apple.metalps.MPSIntersectionDataType
All Implemented Interfaces:
Serializable, Comparable<MPSIntersectionDataType>, ValuedEnum

public enum MPSIntersectionDataType
extends Enum<MPSIntersectionDataType>
implements ValuedEnum
Since:
Available in iOS 12.0 and later.
  • Enum Constant Details

    • Distance

      public static final MPSIntersectionDataType Distance
    • DistancePrimitiveIndex

      public static final MPSIntersectionDataType DistancePrimitiveIndex
    • DistancePrimitiveIndexCoordinates

      public static final MPSIntersectionDataType DistancePrimitiveIndexCoordinates
    • DistancePrimitiveIndexInstanceIndex

      public static final MPSIntersectionDataType DistancePrimitiveIndexInstanceIndex
    • DistancePrimitiveIndexInstanceIndexCoordinates

      public static final MPSIntersectionDataType DistancePrimitiveIndexInstanceIndexCoordinates
    • DistancePrimitiveIndexBufferIndex

      public static final MPSIntersectionDataType DistancePrimitiveIndexBufferIndex
      Since:
      Available in iOS 15.0 and later.
    • DistancePrimitiveIndexBufferIndexCoordinates

      public static final MPSIntersectionDataType DistancePrimitiveIndexBufferIndexCoordinates
      Since:
      Available in iOS 15.0 and later.
    • DistancePrimitiveIndexBufferIndexInstanceIndex

      public static final MPSIntersectionDataType DistancePrimitiveIndexBufferIndexInstanceIndex
      Since:
      Available in iOS 15.0 and later.
    • DistancePrimitiveIndexBufferIndexInstanceIndexCoordinates

      public static final MPSIntersectionDataType DistancePrimitiveIndexBufferIndexInstanceIndexCoordinates
      Since:
      Available in iOS 15.0 and later.
  • Method Details

    • values

      public static MPSIntersectionDataType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static MPSIntersectionDataType valueOf​(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • value

      public long value()
      Specified by:
      value in interface ValuedEnum
    • valueOf

      public static MPSIntersectionDataType valueOf​(long n)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      n - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null