Enum MPSImageType

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

public enum MPSImageType
extends Enum<MPSImageType>
implements ValuedEnum
  • Enum Constant Details

    • Type2d

      public static final MPSImageType Type2d
    • Type2d_array

      public static final MPSImageType Type2d_array
    • TypeArray2d

      public static final MPSImageType TypeArray2d
    • TypeArray2d_array

      public static final MPSImageType TypeArray2d_array
    • Type_ArrayMask

      public static final MPSImageType Type_ArrayMask
    • Type_BatchMask

      public static final MPSImageType Type_BatchMask
    • Type_typeMask

      public static final MPSImageType Type_typeMask
    • Type_noAlpha

      public static final MPSImageType Type_noAlpha
    • Type_texelFormatMask

      public static final MPSImageType Type_texelFormatMask
    • Type_texelFormatShift

      public static final MPSImageType Type_texelFormatShift
    • Type_texelFormatStandard

      public static final MPSImageType Type_texelFormatStandard
    • Type_texelFormatUnorm8

      public static final MPSImageType Type_texelFormatUnorm8
    • Type_texelFormatFloat16

      public static final MPSImageType Type_texelFormatFloat16
    • Type_texelFormatBFloat16

      public static final MPSImageType Type_texelFormatBFloat16
    • Type_bitCount

      public static final MPSImageType Type_bitCount
    • Type_mask

      public static final MPSImageType Type_mask
    • Type2d_noAlpha

      public static final MPSImageType Type2d_noAlpha
    • Type2d_array_noAlpha

      public static final MPSImageType Type2d_array_noAlpha
    • TypeArray2d_noAlpha

      public static final MPSImageType TypeArray2d_noAlpha
    • TypeArray2d_array_noAlpha

      public static final MPSImageType TypeArray2d_array_noAlpha
  • Method Details

    • values

      public static MPSImageType[] 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 MPSImageType 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 MPSImageType 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