2005-02-15 11:05:36 +00:00
|
|
|
/* MACHINE GENERATED FILE, DO NOT EDIT */
|
|
|
|
|
|
2004-02-08 20:41:00 +00:00
|
|
|
package org.lwjgl.opengl;
|
2003-08-25 09:07:04 +00:00
|
|
|
|
2005-05-05 10:02:45 +00:00
|
|
|
import org.lwjgl.LWJGLException;
|
2005-02-15 11:05:36 +00:00
|
|
|
import org.lwjgl.BufferChecks;
|
2005-05-05 10:02:45 +00:00
|
|
|
import java.nio.*;
|
2004-07-04 13:14:06 +00:00
|
|
|
|
2004-02-18 23:54:46 +00:00
|
|
|
public final class ATISeparateStencil {
|
2005-02-15 11:05:36 +00:00
|
|
|
public static final int GL_STENCIL_BACK_FUNC_ATI = 0x8800;
|
2005-06-29 07:39:28 +00:00
|
|
|
public static final int GL_STENCIL_BACK_FAIL_ATI = 0x8801;
|
|
|
|
|
public static final int GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI = 0x8802;
|
|
|
|
|
public static final int GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI = 0x8803;
|
2004-01-20 08:37:17 +00:00
|
|
|
|
2004-07-31 09:34:09 +00:00
|
|
|
private ATISeparateStencil() {
|
|
|
|
|
}
|
|
|
|
|
|
2004-07-03 21:12:33 +00:00
|
|
|
|
2005-02-16 16:04:29 +00:00
|
|
|
public static void glStencilOpSeparateATI(int face, int sfail, int dpfail, int dppass) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_separate_stencil_glStencilOpSeparateATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
nglStencilOpSeparateATI(face, sfail, dpfail, dppass, function_pointer);
|
|
|
|
|
}
|
|
|
|
|
private static native void nglStencilOpSeparateATI(int face, int sfail, int dpfail, int dppass, long function_pointer);
|
2005-06-29 07:39:28 +00:00
|
|
|
|
|
|
|
|
public static void glStencilFuncSeparateATI(int frontfunc, int backfunc, int ref, int mask) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_separate_stencil_glStencilFuncSeparateATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
nglStencilFuncSeparateATI(frontfunc, backfunc, ref, mask, function_pointer);
|
|
|
|
|
}
|
|
|
|
|
private static native void nglStencilFuncSeparateATI(int frontfunc, int backfunc, int ref, int mask, long function_pointer);
|
2003-08-25 09:07:04 +00:00
|
|
|
}
|