Enum Class GlBufferType

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

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

    • ARRAY_BUFFER

      public static final GlBufferType ARRAY_BUFFER
    • ELEMENT_ARRAY_BUFFER

      public static final GlBufferType ELEMENT_ARRAY_BUFFER
    • PIXEL_PACK_BUFFER

      public static final GlBufferType PIXEL_PACK_BUFFER
    • PIXEL_UNPACK_BUFFER

      public static final GlBufferType PIXEL_UNPACK_BUFFER
    • TRANSFORM_FEEDBACK_BUFFER

      public static final GlBufferType TRANSFORM_FEEDBACK_BUFFER
    • UNIFORM_BUFFER

      public static final GlBufferType UNIFORM_BUFFER
    • TEXTURE_BUFFER

      public static final GlBufferType TEXTURE_BUFFER
    • COPY_READ_BUFFER

      public static final GlBufferType COPY_READ_BUFFER
    • COPY_WRITE_BUFFER

      public static final GlBufferType COPY_WRITE_BUFFER
    • DRAW_INDIRECT_BUFFER

      public static final GlBufferType DRAW_INDIRECT_BUFFER
    • ATOMIC_COUNTER_BUFFER

      public static final GlBufferType ATOMIC_COUNTER_BUFFER
    • DISPATCH_INDIRECT_BUFFER

      public static final GlBufferType DISPATCH_INDIRECT_BUFFER
    • SHADER_STORAGE_BUFFER

      public static final GlBufferType SHADER_STORAGE_BUFFER
  • Field Details

    • glEnum

      public final int glEnum
  • Method Details

    • values

      public static GlBufferType[] 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 GlBufferType 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
    • fromTarget

      public static GlBufferType fromTarget(int pTarget)
    • bind

      public void bind(int buffer)
    • unbind

      public void unbind()
    • getBoundBuffer

      public int getBoundBuffer()