All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.lwjgl.opengl.NVPrimitiveRestart Maven / Gradle / Ivy

There is a newer version: 2.9.3
Show newest version
/* 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);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy