/* MACHINE GENERATED FILE, DO NOT EDIT */

package org.lwjgl.opengl;

import org.lwjgl.*;
import java.nio.*;

public final class EXTDepthBoundsTest {

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

	/**
	 *          Accepted by the &lt;pname&gt; 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);
}
