lwjgl/src/generated/org/lwjgl/opengl/EXTDepthBoundsTest.java

34 lines
1.1 KiB
Java

/* MACHINE GENERATED FILE, DO NOT EDIT */
package org.lwjgl.opengl;
import org.lwjgl.LWJGLException;
import org.lwjgl.BufferChecks;
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.EXT_depth_bounds_test_glDepthBoundsEXT_pointer;
BufferChecks.checkFunctionAddress(function_pointer);
nglDepthBoundsEXT(zmin, zmax, function_pointer);
}
private static native void nglDepthBoundsEXT(double zmin, double zmax, long function_pointer);
}