Top Description Fields Constructors Methods
org.lwjgl.opengl

public Class ARBDrawBuffers

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

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

Modifier and TypeField and Description
public static final int
GL_DRAW_BUFFER0_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER10_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER11_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER12_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER13_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER14_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER15_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER1_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER2_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER3_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER4_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER5_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER6_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER7_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER8_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_DRAW_BUFFER9_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

public static final int
GL_MAX_DRAW_BUFFERS_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static void
glDrawBuffersARB(IntBuffer
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]
bufs
)

Defines the draw buffers to which all output colors are written.

public static void
glDrawBuffersARB(int[] bufs)

Array version of: DrawBuffersARB

public static native void
nglDrawBuffersARB(int
the number of buffers in bufs
n
,
long bufs)

Unsafe version of: DrawBuffersARB

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GL_DRAW_BUFFER0_ARBback to summary
public static final int GL_DRAW_BUFFER0_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER10_ARBback to summary
public static final int GL_DRAW_BUFFER10_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER11_ARBback to summary
public static final int GL_DRAW_BUFFER11_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER12_ARBback to summary
public static final int GL_DRAW_BUFFER12_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER13_ARBback to summary
public static final int GL_DRAW_BUFFER13_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER14_ARBback to summary
public static final int GL_DRAW_BUFFER14_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER15_ARBback to summary
public static final int GL_DRAW_BUFFER15_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER1_ARBback to summary
public static final int GL_DRAW_BUFFER1_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER2_ARBback to summary
public static final int GL_DRAW_BUFFER2_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER3_ARBback to summary
public static final int GL_DRAW_BUFFER3_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER4_ARBback to summary
public static final int GL_DRAW_BUFFER4_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER5_ARBback to summary
public static final int GL_DRAW_BUFFER5_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER6_ARBback to summary
public static final int GL_DRAW_BUFFER6_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER7_ARBback to summary
public static final int GL_DRAW_BUFFER7_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER8_ARBback to summary
public static final int GL_DRAW_BUFFER8_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_DRAW_BUFFER9_ARBback to summary
public static final int GL_DRAW_BUFFER9_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

GL_MAX_DRAW_BUFFERS_ARBback to summary
public static final int GL_MAX_DRAW_BUFFERS_ARB

Accepted by the pname parameters of GetIntegerv, GetFloatv, and GetDoublev.

Constructor Detail

ARBDrawBuffersback to summary
protected ARBDrawBuffers()

Method Detail

glDrawBuffersARBback to summary
public static void glDrawBuffersARB(IntBuffer bufs)

Defines the draw buffers to which all output colors are written.

Parameters
bufs:IntBuffer

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]
glDrawBuffersARBback to summary
public static void glDrawBuffersARB(int[] bufs)

Array version of: DrawBuffersARB

nglDrawBuffersARBback to summary
public static native void nglDrawBuffersARB(int n, long bufs)

Unsafe version of: DrawBuffersARB

Parameters
n:int

the number of buffers in bufs