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

org.lwjgl.opengl.EXTDepthBoundsTest 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 EXTDepthBoundsTest {

	/**
	 *          Accepted by the <cap> parameter of Enable, Disable, and IsEnabled,
	 *          and by the <pname> parameter of GetBooleanv, GetIntegerv,
	 *          GetFloatv, and GetDoublev:
	 */
	public static final int GL_DEPTH_BOUNDS_TEST_EXT = 0x8890;

	/**
	 *          Accepted by the <pname> parameter of GetBooleanv, GetIntegerv,
	 *          GetFloatv, and GetDoublev:
	 */
	public static final int GL_DEPTH_BOUNDS_EXT = 0x8891;

	private EXTDepthBoundsTest() {}

	public static void glDepthBoundsEXT(double zmin, double zmax) {
		ContextCapabilities caps = GLContext.getCapabilities();
		long function_pointer = caps.glDepthBoundsEXT;
		BufferChecks.checkFunctionAddress(function_pointer);
		nglDepthBoundsEXT(zmin, zmax, function_pointer);
	}
	static native void nglDepthBoundsEXT(double zmin, double zmax, long function_pointer);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy