public class ARBDrawBuffers
extends java.lang.Object
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.
| Modifier and Type | Field and Description |
|---|---|
static int |
GL_DRAW_BUFFER0_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER1_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER10_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER11_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER12_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER13_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER14_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER15_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER2_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER3_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER4_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER5_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER6_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER7_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER8_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_DRAW_BUFFER9_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
static int |
GL_MAX_DRAW_BUFFERS_ARB
Accepted by the
pname parameters of GetIntegerv, GetFloatv, and GetDoublev. |
| Modifier and Type | Method and Description |
|---|---|
static void |
glDrawBuffersARB(int[] bufs)
Array version of:
DrawBuffersARB |
static void |
glDrawBuffersARB(java.nio.IntBuffer bufs)
Defines the draw buffers to which all output colors are written.
|
static void |
nglDrawBuffersARB(int n,
long bufs)
Unsafe version of:
DrawBuffersARB |
public static final int GL_MAX_DRAW_BUFFERS_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER0_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER1_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER2_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER3_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER4_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER5_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER6_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER7_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER8_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER9_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER10_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER11_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER12_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER13_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER14_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static final int GL_DRAW_BUFFER15_ARB
pname parameters of GetIntegerv, GetFloatv, and GetDoublev.public static void nglDrawBuffersARB(int n,
long bufs)
DrawBuffersARBn - the number of buffers in bufspublic static void glDrawBuffersARB(java.nio.IntBuffer bufs)
bufs - a buffer of symbolic constants specifying the buffer to which each output color is written. One of:NONE | FRONT_LEFT | FRONT_RIGHT | BACK_LEFT | BACK_RIGHT | AUX0 | AUX1 | AUX2 |
AUX3 | COLOR_ATTACHMENT0 | GL30.GL_COLOR_ATTACHMENT[1-15] |
public static void glDrawBuffersARB(int[] bufs)
DrawBuffersARBCopyright LWJGL. All Rights Reserved. License terms.