Class ARBDrawBuffers

java.lang.Object
org.lwjgl.opengl.ARBDrawBuffers

public class ARBDrawBuffers extends Object
Native bindings to the ARB_draw_buffers extension.

This extension extends ARB_fragment_program and ARB_fragment_shader to allow multiple output colors, and provides a mechanism for directing those outputs to multiple color buffers.

Requires OpenGL 1.3. Promoted to core in OpenGL 2.0.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
    static final int
    Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    glDrawBuffersARB(int[] bufs)
    Array version of: DrawBuffersARB
    static void
    Defines the draw buffers to which all output colors are written.
    static void
    nglDrawBuffersARB(int n, long bufs)
    Unsafe version of: DrawBuffersARB

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • GL_MAX_DRAW_BUFFERS_ARB

      public static final int GL_MAX_DRAW_BUFFERS_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER0_ARB

      public static final int GL_DRAW_BUFFER0_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER1_ARB

      public static final int GL_DRAW_BUFFER1_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER2_ARB

      public static final int GL_DRAW_BUFFER2_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER3_ARB

      public static final int GL_DRAW_BUFFER3_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER4_ARB

      public static final int GL_DRAW_BUFFER4_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER5_ARB

      public static final int GL_DRAW_BUFFER5_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER6_ARB

      public static final int GL_DRAW_BUFFER6_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER7_ARB

      public static final int GL_DRAW_BUFFER7_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER8_ARB

      public static final int GL_DRAW_BUFFER8_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER9_ARB

      public static final int GL_DRAW_BUFFER9_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER10_ARB

      public static final int GL_DRAW_BUFFER10_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER11_ARB

      public static final int GL_DRAW_BUFFER11_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER12_ARB

      public static final int GL_DRAW_BUFFER12_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER13_ARB

      public static final int GL_DRAW_BUFFER13_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER14_ARB

      public static final int GL_DRAW_BUFFER14_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
    • GL_DRAW_BUFFER15_ARB

      public static final int GL_DRAW_BUFFER15_ARB
      Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.
      See Also:
  • Method Details

    • nglDrawBuffersARB

      public static void nglDrawBuffersARB(int n, long bufs)
      Unsafe version of: DrawBuffersARB
      Parameters:
      n - the number of buffers in bufs
    • glDrawBuffersARB

      public static void glDrawBuffersARB(IntBuffer bufs)
      Defines the draw buffers to which all output colors are written.
      Parameters:
      bufs - a buffer of symbolic constants specifying the buffer to which each output color is written. One of:
      NONEFRONT_LEFTFRONT_RIGHTBACK_LEFTBACK_RIGHTAUX0AUX1AUX2
      AUX3COLOR_ATTACHMENT0GL30.GL_COLOR_ATTACHMENT[1-15]
    • glDrawBuffersARB

      public static void glDrawBuffersARB(int[] bufs)
      Array version of: DrawBuffersARB