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.. Promoted to core in OpenGL 2..
| Modifier and Type | Field and Description |
|---|---|
| public static final int | GL_DRAW_BUFFER0_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER10_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER11_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER12_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER13_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER14_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER15_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER1_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER2_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER3_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER4_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER5_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER6_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER7_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER8_ARB
Accepted by the |
| public static final int | GL_DRAW_BUFFER9_ARB
Accepted by the |
| public static final int | GL_MAX_DRAW_BUFFERS_ARB
Accepted by the |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void | glDrawBuffersARB(IntBuffer
a buffer of symbolic constants specifying the buffer to which each output color is written. One of: bufs)
Defines the draw buffers to which all output colors are written. | |||||||||||
| public static void | ||||||||||||
| public static native void |
| GL_DRAW_BUFFER0_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER0_ARB Accepted by the | |
| GL_DRAW_BUFFER10_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER10_ARB Accepted by the | |
| GL_DRAW_BUFFER11_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER11_ARB Accepted by the | |
| GL_DRAW_BUFFER12_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER12_ARB Accepted by the | |
| GL_DRAW_BUFFER13_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER13_ARB Accepted by the | |
| GL_DRAW_BUFFER14_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER14_ARB Accepted by the | |
| GL_DRAW_BUFFER15_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER15_ARB Accepted by the | |
| GL_DRAW_BUFFER1_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER1_ARB Accepted by the | |
| GL_DRAW_BUFFER2_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER2_ARB Accepted by the | |
| GL_DRAW_BUFFER3_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER3_ARB Accepted by the | |
| GL_DRAW_BUFFER4_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER4_ARB Accepted by the | |
| GL_DRAW_BUFFER5_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER5_ARB Accepted by the | |
| GL_DRAW_BUFFER6_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER6_ARB Accepted by the | |
| GL_DRAW_BUFFER7_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER7_ARB Accepted by the | |
| GL_DRAW_BUFFER8_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER8_ARB Accepted by the | |
| GL_DRAW_BUFFER9_ARB | back to summary |
|---|---|
| public static final int GL_DRAW_BUFFER9_ARB Accepted by the | |
| GL_MAX_DRAW_BUFFERS_ARB | back to summary |
|---|---|
| public static final int GL_MAX_DRAW_BUFFERS_ARB Accepted by the | |
| ARBDrawBuffers | back to summary |
|---|---|
| protected ARBDrawBuffers() | |
| glDrawBuffersARB | back to summary | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void glDrawBuffersARB(IntBuffer bufs) Defines the draw buffers to which all output colors are written.
| ||||||||||||
| glDrawBuffersARB | back to summary |
|---|---|
| public static void glDrawBuffersARB(int[] bufs) Array version of: | |
| nglDrawBuffersARB | back to summary |
|---|---|
| public static native void nglDrawBuffersARB(int n, long bufs) Unsafe version of:
| |