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;
|
2004-01-30 21:30:19 +01: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 NVPrimitiveRestart {
|
2005-02-15 12:05:36 +01:00
|
|
|
public static final int GL_PRIMITIVE_RESTART_NV = 0x8558;
|
2005-06-29 09:39:28 +02:00
|
|
|
public static final int GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559;
|
2004-01-30 21:30:19 +01:00
|
|
|
|
2004-07-31 11:34:09 +02:00
|
|
|
private NVPrimitiveRestart() {
|
|
|
|
|
}
|
|
|
|
|
|
2004-07-03 23:12:33 +02:00
|
|
|
|
2005-02-16 17:04:29 +01:00
|
|
|
public static void glPrimitiveRestartNV() {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().NV_primitive_restart_glPrimitiveRestartNV_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
nglPrimitiveRestartNV(function_pointer);
|
|
|
|
|
}
|
|
|
|
|
private static native void nglPrimitiveRestartNV(long function_pointer);
|
2005-06-29 09:39:28 +02:00
|
|
|
|
|
|
|
|
public static void glPrimitiveRestartIndexNV(int index) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().NV_primitive_restart_glPrimitiveRestartIndexNV_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
nglPrimitiveRestartIndexNV(index, function_pointer);
|
|
|
|
|
}
|
|
|
|
|
private static native void nglPrimitiveRestartIndexNV(int index, long function_pointer);
|
2004-07-03 23:12:33 +02:00
|
|
|
}
|