Package org.lwjgl.opengl
Class ARBDrawBuffers
java.lang.Object
org.lwjgl.opengl.ARBDrawBuffers
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
FieldsModifier and TypeFieldDescriptionstatic final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.static final intAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidglDrawBuffersARB(int[] bufs) Array version of:DrawBuffersARBstatic voidglDrawBuffersARB(IntBuffer bufs) Defines the draw buffers to which all output colors are written.static voidnglDrawBuffersARB(int n, long bufs) Unsafe version of:DrawBuffersARB
-
Field Details
-
GL_MAX_DRAW_BUFFERS_ARB
public static final int GL_MAX_DRAW_BUFFERS_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER0_ARB
public static final int GL_DRAW_BUFFER0_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER1_ARB
public static final int GL_DRAW_BUFFER1_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER2_ARB
public static final int GL_DRAW_BUFFER2_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER3_ARB
public static final int GL_DRAW_BUFFER3_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER4_ARB
public static final int GL_DRAW_BUFFER4_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER5_ARB
public static final int GL_DRAW_BUFFER5_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER6_ARB
public static final int GL_DRAW_BUFFER6_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER7_ARB
public static final int GL_DRAW_BUFFER7_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER8_ARB
public static final int GL_DRAW_BUFFER8_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER9_ARB
public static final int GL_DRAW_BUFFER9_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER10_ARB
public static final int GL_DRAW_BUFFER10_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER11_ARB
public static final int GL_DRAW_BUFFER11_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER12_ARB
public static final int GL_DRAW_BUFFER12_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER13_ARB
public static final int GL_DRAW_BUFFER13_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER14_ARB
public static final int GL_DRAW_BUFFER14_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
GL_DRAW_BUFFER15_ARB
public static final int GL_DRAW_BUFFER15_ARBAccepted by thepnameparameters of GetIntegerv, GetFloatv, and GetDoublev.- See Also:
-
-
Method Details
-
nglDrawBuffersARB
public static void nglDrawBuffersARB(int n, long bufs) Unsafe version of:DrawBuffersARB- Parameters:
n- the number of buffers inbufs
-
glDrawBuffersARB
Defines the draw buffers to which all output colors are written.- Parameters:
bufs- a buffer of symbolic constants specifying the buffer to which each output color is written. One of:NONEFRONT_LEFTFRONT_RIGHTBACK_LEFTBACK_RIGHTAUX0AUX1AUX2AUX3COLOR_ATTACHMENT0GL30.GL_COLOR_ATTACHMENT[1-15]
-
glDrawBuffersARB
public static void glDrawBuffersARB(int[] bufs) Array version of:DrawBuffersARB
-