Class EXTDrawBuffers

java.lang.Object
org.lwjgl.opengles.EXTDrawBuffers

public class EXTDrawBuffers extends Object
Native bindings to the EXT_draw_buffers extension.

This extension increases the number of available framebuffer object color attachment points, extends OpenGL ES 2.0 to allow multiple output colors, and provides a mechanism for directing those outputs to multiple color buffers.

This extension is similar to the combination of the GL_NV_draw_buffers and GL_NV_fbo_color_attachments extensions, but imposes certain restrictions informed by the OpenGL ES 3.0 API.

Requires GLES 2.0.

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
    static final int
    Accepted by the pname parameter of GetIntegerv.
    static final int
    Accepted by the pname parameters of GetIntegerv and GetFloatv.
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
     
    static void
    glDrawBuffersEXT(int[] bufs)
    Array version of: DrawBuffersEXT
    static void
     
    static void
    nglDrawBuffersEXT(int n, long bufs)
     

    Methods inherited from class java.lang.Object

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

    • GL_MAX_COLOR_ATTACHMENTS_EXT

      public static final int GL_MAX_COLOR_ATTACHMENTS_EXT
      Accepted by the pname parameter of GetIntegerv.
      See Also:
    • GL_MAX_DRAW_BUFFERS_EXT

      public static final int GL_MAX_DRAW_BUFFERS_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER0_EXT

      public static final int GL_DRAW_BUFFER0_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER1_EXT

      public static final int GL_DRAW_BUFFER1_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER2_EXT

      public static final int GL_DRAW_BUFFER2_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER3_EXT

      public static final int GL_DRAW_BUFFER3_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER4_EXT

      public static final int GL_DRAW_BUFFER4_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER5_EXT

      public static final int GL_DRAW_BUFFER5_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER6_EXT

      public static final int GL_DRAW_BUFFER6_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER7_EXT

      public static final int GL_DRAW_BUFFER7_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER8_EXT

      public static final int GL_DRAW_BUFFER8_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER9_EXT

      public static final int GL_DRAW_BUFFER9_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER10_EXT

      public static final int GL_DRAW_BUFFER10_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER11_EXT

      public static final int GL_DRAW_BUFFER11_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER12_EXT

      public static final int GL_DRAW_BUFFER12_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER13_EXT

      public static final int GL_DRAW_BUFFER13_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER14_EXT

      public static final int GL_DRAW_BUFFER14_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_DRAW_BUFFER15_EXT

      public static final int GL_DRAW_BUFFER15_EXT
      Accepted by the pname parameters of GetIntegerv and GetFloatv.
      See Also:
    • GL_COLOR_ATTACHMENT0_EXT

      public static final int GL_COLOR_ATTACHMENT0_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT1_EXT

      public static final int GL_COLOR_ATTACHMENT1_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT2_EXT

      public static final int GL_COLOR_ATTACHMENT2_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT3_EXT

      public static final int GL_COLOR_ATTACHMENT3_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT4_EXT

      public static final int GL_COLOR_ATTACHMENT4_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT5_EXT

      public static final int GL_COLOR_ATTACHMENT5_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT6_EXT

      public static final int GL_COLOR_ATTACHMENT6_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT7_EXT

      public static final int GL_COLOR_ATTACHMENT7_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT8_EXT

      public static final int GL_COLOR_ATTACHMENT8_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT9_EXT

      public static final int GL_COLOR_ATTACHMENT9_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT10_EXT

      public static final int GL_COLOR_ATTACHMENT10_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT11_EXT

      public static final int GL_COLOR_ATTACHMENT11_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT12_EXT

      public static final int GL_COLOR_ATTACHMENT12_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT13_EXT

      public static final int GL_COLOR_ATTACHMENT13_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT14_EXT

      public static final int GL_COLOR_ATTACHMENT14_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
    • GL_COLOR_ATTACHMENT15_EXT

      public static final int GL_COLOR_ATTACHMENT15_EXT
      Accepted by the attachment parameter of FramebufferRenderbuffer, FramebufferTexture2D and GetFramebufferAttachmentParameteriv, and by the bufs parameter of DrawBuffersEXT.
      See Also:
  • Method Details

    • nglDrawBuffersEXT

      public static void nglDrawBuffersEXT(int n, long bufs)
    • glDrawBuffersEXT

      public static void glDrawBuffersEXT(IntBuffer bufs)
    • glDrawBuffersEXT

      public static void glDrawBuffersEXT(int buf)
    • glDrawBuffersEXT

      public static void glDrawBuffersEXT(int[] bufs)
      Array version of: DrawBuffersEXT