2005-02-15 12:05:36 +01:00
|
|
|
/* MACHINE GENERATED FILE, DO NOT EDIT */
|
2002-08-30 23:30:40 +02:00
|
|
|
|
2005-02-15 12:05:36 +01:00
|
|
|
package org.lwjgl.opengl;
|
2004-01-20 09:37:17 +01:00
|
|
|
|
2004-07-04 15:14:06 +02:00
|
|
|
import org.lwjgl.LWJGLException;
|
2004-07-29 13:20:43 +02:00
|
|
|
import org.lwjgl.BufferChecks;
|
2005-02-15 12:05:36 +01:00
|
|
|
import java.nio.*;
|
2004-07-04 15:14:06 +02:00
|
|
|
|
2004-02-19 00:54:46 +01:00
|
|
|
public final class NVPointSprite {
|
2004-11-25 23:20:45 +01:00
|
|
|
public static final int GL_POINT_SPRITE_R_MODE_NV = 0x8863;
|
2005-02-15 12:05:36 +01:00
|
|
|
public static final int GL_COORD_REPLACE_NV = 0x8862;
|
|
|
|
|
public static final int GL_POINT_SPRITE_NV = 0x8861;
|
2004-01-20 09:37:17 +01:00
|
|
|
|
2004-07-31 11:34:09 +02:00
|
|
|
private NVPointSprite() {
|
|
|
|
|
}
|
|
|
|
|
|
2004-07-04 15:14:06 +02:00
|
|
|
static native void initNativeStubs() throws LWJGLException;
|
2004-07-03 23:12:33 +02:00
|
|
|
|
2005-02-15 12:05:36 +01:00
|
|
|
public static void glPointParameterNV(int pname, IntBuffer params) {
|
|
|
|
|
BufferChecks.checkBuffer(params, 4);
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().NV_point_sprite_glPointParameterivNV_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
nglPointParameterivNV(pname, params, params.position(), function_pointer);
|
2004-01-20 09:37:17 +01:00
|
|
|
}
|
2005-02-16 17:04:29 +01:00
|
|
|
private static native void nglPointParameterivNV(int pname, IntBuffer params, int params_position, long function_pointer);
|
2004-11-25 23:20:45 +01:00
|
|
|
|
2005-02-16 17:04:29 +01:00
|
|
|
public static void glPointParameteriNV(int pname, int param) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().NV_point_sprite_glPointParameteriNV_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
nglPointParameteriNV(pname, param, function_pointer);
|
|
|
|
|
}
|
|
|
|
|
private static native void nglPointParameteriNV(int pname, int param, long function_pointer);
|
2003-08-17 18:38:57 +02:00
|
|
|
}
|