Enum Class GLPixelType

java.lang.Object
java.lang.Enum<GLPixelType>
dev.pfaff.glass.opengl.enums.GLPixelType
All Implemented Interfaces:
GLEnum, Serializable, Comparable<GLPixelType>, Constable

public enum GLPixelType extends Enum<GLPixelType> implements GLEnum
  • Enum Constant Details

    • BYTE

      public static final GLPixelType BYTE
    • UNSIGNED_BYTE

      public static final GLPixelType UNSIGNED_BYTE
    • SHORT

      public static final GLPixelType SHORT
    • UNSIGNED_SHORT

      public static final GLPixelType UNSIGNED_SHORT
    • INT

      public static final GLPixelType INT
    • UNSIGNED_INT

      public static final GLPixelType UNSIGNED_INT
    • FLOAT

      public static final GLPixelType FLOAT
    • HALF_FLOAT

      public static final GLPixelType HALF_FLOAT
    • BITMAP

      public static final GLPixelType BITMAP
    • UNSIGNED_BYTE_3_3_2

      public static final GLPixelType UNSIGNED_BYTE_3_3_2
    • UNSIGNED_SHORT_4_4_4_4

      public static final GLPixelType UNSIGNED_SHORT_4_4_4_4
    • UNSIGNED_SHORT_5_5_5_1

      public static final GLPixelType UNSIGNED_SHORT_5_5_5_1
    • UNSIGNED_INT_8_8_8_8

      public static final GLPixelType UNSIGNED_INT_8_8_8_8
    • UNSIGNED_INT_10_10_10_2

      public static final GLPixelType UNSIGNED_INT_10_10_10_2
    • UNSIGNED_BYTE_2_3_3_REV

      public static final GLPixelType UNSIGNED_BYTE_2_3_3_REV
    • UNSIGNED_SHORT_5_6_5

      public static final GLPixelType UNSIGNED_SHORT_5_6_5
    • UNSIGNED_SHORT_5_6_5_REV

      public static final GLPixelType UNSIGNED_SHORT_5_6_5_REV
    • UNSIGNED_SHORT_4_4_4_4_REV

      public static final GLPixelType UNSIGNED_SHORT_4_4_4_4_REV
    • UNSIGNED_SHORT_1_5_5_5_REV

      public static final GLPixelType UNSIGNED_SHORT_1_5_5_5_REV
    • UNSIGNED_INT_8_8_8_8_REV

      public static final GLPixelType UNSIGNED_INT_8_8_8_8_REV
    • UNSIGNED_INT_2_10_10_10_REV

      public static final GLPixelType UNSIGNED_INT_2_10_10_10_REV
    • UNSIGNED_INT_24_8

      public static final GLPixelType UNSIGNED_INT_24_8
    • UNSIGNED_INT_10F_11F_11F_REV

      public static final GLPixelType UNSIGNED_INT_10F_11F_11F_REV
    • UNSIGNED_INT_5_9_9_9_REV

      public static final GLPixelType UNSIGNED_INT_5_9_9_9_REV
    • FLOAT_32_UNSIGNED_INT_24_8_REV

      public static final GLPixelType FLOAT_32_UNSIGNED_INT_24_8_REV
  • Field Details

  • Method Details

    • values

      public static GLPixelType[] 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 GLPixelType 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
    • glEnum

      public int glEnum()
      Specified by:
      glEnum in interface GLEnum
    • fromGLEnum

      public static GLPixelType fromGLEnum(int glEnum)
      Returns the enum constant corresponding to the provided raw value.
      Throws:
      IllegalArgumentException - if the provided raw value does not exist in this enum group.