/* MACHINE GENERATED FILE, DO NOT EDIT */
package org.lwjgl.opengl;
import org.lwjgl.*;
import java.nio.*;
public final class NVPrimitiveRestart {
/**
* Accepted by the <array> parameter of EnableClientState and
* DisableClientState, by the <cap> parameter of IsEnabled, and by
* the <pname> parameter of GetBooleanv, GetIntegerv, GetFloatv, and
* GetDoublev:
*/
public static final int GL_PRIMITIVE_RESTART_NV = 0x8558;
/**
* Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
* GetFloatv, and GetDoublev:
*/
public static final int GL_PRIMITIVE_RESTART_INDEX_NV = 0x8559;
private NVPrimitiveRestart() {}
public static void glPrimitiveRestartNV() {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glPrimitiveRestartNV;
BufferChecks.checkFunctionAddress(function_pointer);
nglPrimitiveRestartNV(function_pointer);
}
static native void nglPrimitiveRestartNV(long function_pointer);
public static void glPrimitiveRestartIndexNV(int index) {
ContextCapabilities caps = GLContext.getCapabilities();
long function_pointer = caps.glPrimitiveRestartIndexNV;
BufferChecks.checkFunctionAddress(function_pointer);
nglPrimitiveRestartIndexNV(index, function_pointer);
}
static native void nglPrimitiveRestartIndexNV(int index, long function_pointer);
}