Top Description Fields Constructors Methods
org.lwjgl.opengles

public Class EXTDrawBuffers

extends Object
Class Inheritance
Imports
java.nio.*, org.lwjgl.system.*

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

Modifier and TypeField and Description
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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

public static final int
GL_DRAW_BUFFER0_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER10_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER11_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER12_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER13_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER14_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER15_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER1_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER2_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER3_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER4_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER5_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER6_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER7_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER8_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_DRAW_BUFFER9_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

public static final int
GL_MAX_COLOR_ATTACHMENTS_EXT

Accepted by the pname parameter of GetIntegerv.

public static final int
GL_MAX_DRAW_BUFFERS_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
public static void
public static void
glDrawBuffersEXT(int[] bufs)

Array version of: DrawBuffersEXT

public static native void
nglDrawBuffersEXT(int n, long bufs)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_COLOR_ATTACHMENT0_EXTback to summary
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.

GL_COLOR_ATTACHMENT10_EXTback to summary
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.

GL_COLOR_ATTACHMENT11_EXTback to summary
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.

GL_COLOR_ATTACHMENT12_EXTback to summary
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.

GL_COLOR_ATTACHMENT13_EXTback to summary
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.

GL_COLOR_ATTACHMENT14_EXTback to summary
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.

GL_COLOR_ATTACHMENT15_EXTback to summary
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.

GL_COLOR_ATTACHMENT1_EXTback to summary
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.

GL_COLOR_ATTACHMENT2_EXTback to summary
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.

GL_COLOR_ATTACHMENT3_EXTback to summary
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.

GL_COLOR_ATTACHMENT4_EXTback to summary
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.

GL_COLOR_ATTACHMENT5_EXTback to summary
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.

GL_COLOR_ATTACHMENT6_EXTback to summary
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.

GL_COLOR_ATTACHMENT7_EXTback to summary
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.

GL_COLOR_ATTACHMENT8_EXTback to summary
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.

GL_COLOR_ATTACHMENT9_EXTback to summary
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.

GL_DRAW_BUFFER0_EXTback to summary
public static final int GL_DRAW_BUFFER0_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER10_EXTback to summary
public static final int GL_DRAW_BUFFER10_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER11_EXTback to summary
public static final int GL_DRAW_BUFFER11_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER12_EXTback to summary
public static final int GL_DRAW_BUFFER12_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER13_EXTback to summary
public static final int GL_DRAW_BUFFER13_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER14_EXTback to summary
public static final int GL_DRAW_BUFFER14_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER15_EXTback to summary
public static final int GL_DRAW_BUFFER15_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER1_EXTback to summary
public static final int GL_DRAW_BUFFER1_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER2_EXTback to summary
public static final int GL_DRAW_BUFFER2_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER3_EXTback to summary
public static final int GL_DRAW_BUFFER3_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER4_EXTback to summary
public static final int GL_DRAW_BUFFER4_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER5_EXTback to summary
public static final int GL_DRAW_BUFFER5_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER6_EXTback to summary
public static final int GL_DRAW_BUFFER6_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER7_EXTback to summary
public static final int GL_DRAW_BUFFER7_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER8_EXTback to summary
public static final int GL_DRAW_BUFFER8_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_DRAW_BUFFER9_EXTback to summary
public static final int GL_DRAW_BUFFER9_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

GL_MAX_COLOR_ATTACHMENTS_EXTback to summary
public static final int GL_MAX_COLOR_ATTACHMENTS_EXT

Accepted by the pname parameter of GetIntegerv.

GL_MAX_DRAW_BUFFERS_EXTback to summary
public static final int GL_MAX_DRAW_BUFFERS_EXT

Accepted by the pname parameters of GetIntegerv and GetFloatv.

Constructor Detail

EXTDrawBuffersback to summary
protected EXTDrawBuffers()

Method Detail

glDrawBuffersEXTback to summary
public static void glDrawBuffersEXT(IntBuffer bufs)
glDrawBuffersEXTback to summary
public static void glDrawBuffersEXT(int buf)
glDrawBuffersEXTback to summary
public static void glDrawBuffersEXT(int[] bufs)

Array version of: DrawBuffersEXT

nglDrawBuffersEXTback to summary
public static native void nglDrawBuffersEXT(int n, long bufs)