Enum Class GlNumericType

java.lang.Object
java.lang.Enum<GlNumericType>
com.jozufozu.flywheel.backend.gl.GlNumericType
All Implemented Interfaces:
Serializable, Comparable<GlNumericType>, Constable

public enum GlNumericType extends Enum<GlNumericType>
  • Enum Constant Details

  • Method Details

    • values

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

      public static GlNumericType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null
    • getByteWidth

      public int getByteWidth()
    • getTypeName

      public String getTypeName()
    • getGlEnum

      public int getGlEnum()
    • castAndBuffer

      public void castAndBuffer(ByteBuffer buf, int val)
    • byName

      @Nullable public static GlNumericType byName(String name)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<GlNumericType>