Top Description Constructors Methods
org.lwjgl.opengl

public Class EXTDrawBuffers2

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

Native bindings to the EXT_draw_buffers2 extension.

This extension builds upon the ARB_draw_buffers extension and provides separate blend enables and color write masks for each color output. In ARB_draw_buffers (part of OpenGL 2.0), separate values can be written to each color buffer, but the blend enable and color write mask are global and apply to all color outputs.

While this extension does provide separate blend enables, it does not provide separate blend functions or blend equations per color output.

Requires OpenGL 2.0.

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static native void
glColorMaskIndexedEXT(int index, boolean r, boolean g, boolean b, boolean a)

public static native void
glDisableIndexedEXT(int target, int index)

public static native void
glEnableIndexedEXT(int target, int index)

public static boolean
glGetBooleanIndexedEXT(int target, int index)

public static void
glGetBooleanIndexedvEXT(int target, int index, ByteBuffer data)

public static int
glGetIntegerIndexedEXT(int target, int index)

public static void
glGetIntegerIndexedvEXT(int target, int index, IntBuffer data)

public static void
glGetIntegerIndexedvEXT(int target, int index, int[] data)

Array version of: GetIntegerIndexedvEXT

public static native boolean
glIsEnabledIndexedEXT(int target, int index)

public static native void
nglGetBooleanIndexedvEXT(int target, int index, long data)

public static native void
nglGetIntegerIndexedvEXT(int target, int index, long data)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

EXTDrawBuffers2back to summary
protected EXTDrawBuffers2()

Method Detail

glColorMaskIndexedEXTback to summary
public static native void glColorMaskIndexedEXT(int index, boolean r, boolean g, boolean b, boolean a)
glDisableIndexedEXTback to summary
public static native void glDisableIndexedEXT(int target, int index)
glEnableIndexedEXTback to summary
public static native void glEnableIndexedEXT(int target, int index)
glGetBooleanIndexedEXTback to summary
public static boolean glGetBooleanIndexedEXT(int target, int index)
Annotations
@NativeType:void
glGetBooleanIndexedvEXTback to summary
public static void glGetBooleanIndexedvEXT(int target, int index, ByteBuffer data)
glGetIntegerIndexedEXTback to summary
public static int glGetIntegerIndexedEXT(int target, int index)
Annotations
@NativeType:void
glGetIntegerIndexedvEXTback to summary
public static void glGetIntegerIndexedvEXT(int target, int index, IntBuffer data)
glGetIntegerIndexedvEXTback to summary
public static void glGetIntegerIndexedvEXT(int target, int index, int[] data)

Array version of: GetIntegerIndexedvEXT

glIsEnabledIndexedEXTback to summary
public static native boolean glIsEnabledIndexedEXT(int target, int index)
Annotations
@NativeType:GLboolean
nglGetBooleanIndexedvEXTback to summary
public static native void nglGetBooleanIndexedvEXT(int target, int index, long data)
nglGetIntegerIndexedvEXTback to summary
public static native void nglGetIntegerIndexedvEXT(int target, int index, long data)