Enum Class GLColorBuffer

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

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

    • NONE

      public static final GLColorBuffer NONE
    • FRONT_LEFT

      public static final GLColorBuffer FRONT_LEFT
    • FRONT_RIGHT

      public static final GLColorBuffer FRONT_RIGHT
    • BACK_LEFT

      public static final GLColorBuffer BACK_LEFT
    • BACK_RIGHT

      public static final GLColorBuffer BACK_RIGHT
    • FRONT

      public static final GLColorBuffer FRONT
    • BACK

      public static final GLColorBuffer BACK
    • LEFT

      public static final GLColorBuffer LEFT
    • FRONT_AND_BACK

      public static final GLColorBuffer FRONT_AND_BACK
    • COLOR_ATTACHMENT0

      public static final GLColorBuffer COLOR_ATTACHMENT0
    • COLOR_ATTACHMENT1

      public static final GLColorBuffer COLOR_ATTACHMENT1
    • COLOR_ATTACHMENT2

      public static final GLColorBuffer COLOR_ATTACHMENT2
    • COLOR_ATTACHMENT3

      public static final GLColorBuffer COLOR_ATTACHMENT3
    • COLOR_ATTACHMENT4

      public static final GLColorBuffer COLOR_ATTACHMENT4
    • COLOR_ATTACHMENT5

      public static final GLColorBuffer COLOR_ATTACHMENT5
    • COLOR_ATTACHMENT6

      public static final GLColorBuffer COLOR_ATTACHMENT6
    • COLOR_ATTACHMENT7

      public static final GLColorBuffer COLOR_ATTACHMENT7
    • COLOR_ATTACHMENT8

      public static final GLColorBuffer COLOR_ATTACHMENT8
    • COLOR_ATTACHMENT9

      public static final GLColorBuffer COLOR_ATTACHMENT9
    • COLOR_ATTACHMENT10

      public static final GLColorBuffer COLOR_ATTACHMENT10
    • COLOR_ATTACHMENT11

      public static final GLColorBuffer COLOR_ATTACHMENT11
    • COLOR_ATTACHMENT12

      public static final GLColorBuffer COLOR_ATTACHMENT12
    • COLOR_ATTACHMENT13

      public static final GLColorBuffer COLOR_ATTACHMENT13
    • COLOR_ATTACHMENT14

      public static final GLColorBuffer COLOR_ATTACHMENT14
    • COLOR_ATTACHMENT15

      public static final GLColorBuffer COLOR_ATTACHMENT15
    • COLOR_ATTACHMENT16

      public static final GLColorBuffer COLOR_ATTACHMENT16
    • COLOR_ATTACHMENT17

      public static final GLColorBuffer COLOR_ATTACHMENT17
    • COLOR_ATTACHMENT18

      public static final GLColorBuffer COLOR_ATTACHMENT18
    • COLOR_ATTACHMENT19

      public static final GLColorBuffer COLOR_ATTACHMENT19
    • COLOR_ATTACHMENT20

      public static final GLColorBuffer COLOR_ATTACHMENT20
    • COLOR_ATTACHMENT21

      public static final GLColorBuffer COLOR_ATTACHMENT21
    • COLOR_ATTACHMENT22

      public static final GLColorBuffer COLOR_ATTACHMENT22
    • COLOR_ATTACHMENT23

      public static final GLColorBuffer COLOR_ATTACHMENT23
    • COLOR_ATTACHMENT24

      public static final GLColorBuffer COLOR_ATTACHMENT24
    • COLOR_ATTACHMENT25

      public static final GLColorBuffer COLOR_ATTACHMENT25
    • COLOR_ATTACHMENT26

      public static final GLColorBuffer COLOR_ATTACHMENT26
    • COLOR_ATTACHMENT27

      public static final GLColorBuffer COLOR_ATTACHMENT27
    • COLOR_ATTACHMENT28

      public static final GLColorBuffer COLOR_ATTACHMENT28
    • COLOR_ATTACHMENT29

      public static final GLColorBuffer COLOR_ATTACHMENT29
    • COLOR_ATTACHMENT30

      public static final GLColorBuffer COLOR_ATTACHMENT30
    • COLOR_ATTACHMENT31

      public static final GLColorBuffer COLOR_ATTACHMENT31
  • Field Details

  • Method Details

    • values

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