org.lwjgl.opengl.EXTDepthBoundsTest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lwjgl Show documentation
Show all versions of lwjgl Show documentation
Lighweight Java Game Library
/* 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);
}