2005-02-15 12:05:36 +01:00
|
|
|
/* MACHINE GENERATED FILE, DO NOT EDIT */
|
|
|
|
|
|
2004-02-08 21:41:00 +01:00
|
|
|
package org.lwjgl.opengl;
|
2002-08-30 23:30:40 +02:00
|
|
|
|
2005-05-05 12:02:45 +02:00
|
|
|
import org.lwjgl.LWJGLException;
|
2005-02-15 12:05:36 +01:00
|
|
|
import org.lwjgl.BufferChecks;
|
2005-05-05 12:02:45 +02:00
|
|
|
import java.nio.*;
|
2004-07-04 15:14:06 +02:00
|
|
|
|
2004-02-19 00:54:46 +01:00
|
|
|
public final class ARBMultisample {
|
2005-02-15 12:05:36 +01:00
|
|
|
public static final int GL_MULTISAMPLE_ARB = 0x809d;
|
2005-06-29 09:39:28 +02:00
|
|
|
public static final int GL_SAMPLE_ALPHA_TO_COVERAGE_ARB = 0x809e;
|
|
|
|
|
public static final int GL_SAMPLE_ALPHA_TO_ONE_ARB = 0x809f;
|
|
|
|
|
public static final int GL_SAMPLE_COVERAGE_ARB = 0x80a0;
|
|
|
|
|
public static final int GL_SAMPLE_BUFFERS_ARB = 0x80a8;
|
|
|
|
|
public static final int GL_SAMPLES_ARB = 0x80a9;
|
|
|
|
|
public static final int GL_SAMPLE_COVERAGE_VALUE_ARB = 0x80aa;
|
|
|
|
|
public static final int GL_SAMPLE_COVERAGE_INVERT_ARB = 0x80ab;
|
|
|
|
|
public static final int GL_MULTISAMPLE_BIT_ARB = 0x20000000;
|
2004-01-20 09:37:17 +01:00
|
|
|
|
2004-07-31 11:34:09 +02:00
|
|
|
private ARBMultisample() {
|
|
|
|
|
}
|
|
|
|
|
|
2004-07-03 23:12:33 +02:00
|
|
|
|
2005-02-16 17:04:29 +01:00
|
|
|
public static void glSampleCoverageARB(float value, boolean invert) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().ARB_multisample_glSampleCoverageARB_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
nglSampleCoverageARB(value, invert, function_pointer);
|
|
|
|
|
}
|
|
|
|
|
private static native void nglSampleCoverageARB(float value, boolean invert, long function_pointer);
|
2003-08-17 18:38:57 +02:00
|
|
|
}
|