2005-02-15 06:05:36 -05:00
|
|
|
/* MACHINE GENERATED FILE, DO NOT EDIT */
|
2004-01-20 03:37:17 -05:00
|
|
|
|
2005-02-15 06:05:36 -05:00
|
|
|
#include <jni.h>
|
2004-01-20 03:37:17 -05:00
|
|
|
#include "extgl.h"
|
2004-03-07 11:01:45 -05:00
|
|
|
|
2005-02-15 06:05:36 -05:00
|
|
|
typedef void (APIENTRY *glGetMapControlPointsNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, const GLvoid * pPoints);
|
2005-06-29 03:39:28 -04:00
|
|
|
typedef void (APIENTRY *glMapControlPointsNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid * pPoints);
|
|
|
|
typedef void (APIENTRY *glMapParameterfvNVPROC) (GLenum target, GLenum pname, const GLfloat * params);
|
|
|
|
typedef void (APIENTRY *glMapParameterivNVPROC) (GLenum target, GLenum pname, const GLint * params);
|
|
|
|
typedef void (APIENTRY *glGetMapParameterfvNVPROC) (GLenum target, GLenum pname, const GLfloat * params);
|
|
|
|
typedef void (APIENTRY *glGetMapParameterivNVPROC) (GLenum target, GLenum pname, const GLint * params);
|
|
|
|
typedef void (APIENTRY *glGetMapAttribParameterfvNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat * params);
|
|
|
|
typedef void (APIENTRY *glGetMapAttribParameterivNVPROC) (GLenum target, GLuint index, GLenum pname, GLint * params);
|
|
|
|
typedef void (APIENTRY *glEvalMapsNVPROC) (GLenum target, GLenum mode);
|
2004-01-29 17:08:59 -05:00
|
|
|
|
2005-06-29 03:39:28 -04:00
|
|
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVEvaluators_nglGetMapControlPointsNV(JNIEnv *env, jclass clazz, jint target, jint index, jint type, jint ustride, jint vstride, jboolean packed, jobject pPoints, jint pPoints_position, jlong function_pointer) {
|
|
|
|
const GLvoid *pPoints_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pPoints)) + pPoints_position));
|
|
|
|
glGetMapControlPointsNVPROC glGetMapControlPointsNV = (glGetMapControlPointsNVPROC)((intptr_t)function_pointer);
|
|
|
|
glGetMapControlPointsNV(target, index, type, ustride, vstride, packed, pPoints_address);
|
2004-01-20 03:37:17 -05:00
|
|
|
}
|
|
|
|
|
2005-06-29 03:39:28 -04:00
|
|
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVEvaluators_nglMapControlPointsNV(JNIEnv *env, jclass clazz, jint target, jint index, jint type, jint ustride, jint vstride, jint uorder, jint vorder, jboolean packed, jobject pPoints, jint pPoints_position, jlong function_pointer) {
|
|
|
|
const GLvoid *pPoints_address = ((const GLvoid *)(((char *)(*env)->GetDirectBufferAddress(env, pPoints)) + pPoints_position));
|
|
|
|
glMapControlPointsNVPROC glMapControlPointsNV = (glMapControlPointsNVPROC)((intptr_t)function_pointer);
|
|
|
|
glMapControlPointsNV(target, index, type, ustride, vstride, uorder, vorder, packed, pPoints_address);
|
2004-01-20 03:37:17 -05:00
|
|
|
}
|
|
|
|
|
2005-06-29 03:39:28 -04:00
|
|
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVEvaluators_nglMapParameterfvNV(JNIEnv *env, jclass clazz, jint target, jint pname, jobject params, jint params_position, jlong function_pointer) {
|
|
|
|
const GLfloat *params_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, params)) + params_position;
|
|
|
|
glMapParameterfvNVPROC glMapParameterfvNV = (glMapParameterfvNVPROC)((intptr_t)function_pointer);
|
|
|
|
glMapParameterfvNV(target, pname, params_address);
|
2004-01-20 03:37:17 -05:00
|
|
|
}
|
|
|
|
|
2005-06-29 03:39:28 -04:00
|
|
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVEvaluators_nglMapParameterivNV(JNIEnv *env, jclass clazz, jint target, jint pname, jobject params, jint params_position, jlong function_pointer) {
|
2005-02-15 06:05:36 -05:00
|
|
|
const GLint *params_address = ((const GLint *)(*env)->GetDirectBufferAddress(env, params)) + params_position;
|
2005-06-29 03:39:28 -04:00
|
|
|
glMapParameterivNVPROC glMapParameterivNV = (glMapParameterivNVPROC)((intptr_t)function_pointer);
|
|
|
|
glMapParameterivNV(target, pname, params_address);
|
2004-01-20 03:37:17 -05:00
|
|
|
}
|
|
|
|
|
2005-02-16 11:04:29 -05:00
|
|
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVEvaluators_nglGetMapParameterfvNV(JNIEnv *env, jclass clazz, jint target, jint pname, jobject params, jint params_position, jlong function_pointer) {
|
2005-02-15 06:05:36 -05:00
|
|
|
const GLfloat *params_address = ((const GLfloat *)(*env)->GetDirectBufferAddress(env, params)) + params_position;
|
2005-02-16 11:04:29 -05:00
|
|
|
glGetMapParameterfvNVPROC glGetMapParameterfvNV = (glGetMapParameterfvNVPROC)((intptr_t)function_pointer);
|
2005-02-15 06:05:36 -05:00
|
|
|
glGetMapParameterfvNV(target, pname, params_address);
|
2004-01-20 03:37:17 -05:00
|
|
|
}
|
|
|
|
|
2005-06-29 03:39:28 -04:00
|
|
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVEvaluators_nglGetMapParameterivNV(JNIEnv *env, jclass clazz, jint target, jint pname, jobject params, jint params_position, jlong function_pointer) {
|
2005-02-15 06:05:36 -05:00
|
|
|
const GLint *params_address = ((const GLint *)(*env)->GetDirectBufferAddress(env, params)) + params_position;
|
2005-06-29 03:39:28 -04:00
|
|
|
glGetMapParameterivNVPROC glGetMapParameterivNV = (glGetMapParameterivNVPROC)((intptr_t)function_pointer);
|
|
|
|
glGetMapParameterivNV(target, pname, params_address);
|
2004-01-20 03:37:17 -05:00
|
|
|
}
|
|
|
|
|
2005-06-29 03:39:28 -04:00
|
|
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVEvaluators_nglGetMapAttribParameterfvNV(JNIEnv *env, jclass clazz, jint target, jint index, jint pname, jobject params, jint params_position, jlong function_pointer) {
|
|
|
|
GLfloat *params_address = ((GLfloat *)(*env)->GetDirectBufferAddress(env, params)) + params_position;
|
|
|
|
glGetMapAttribParameterfvNVPROC glGetMapAttribParameterfvNV = (glGetMapAttribParameterfvNVPROC)((intptr_t)function_pointer);
|
|
|
|
glGetMapAttribParameterfvNV(target, index, pname, params_address);
|
2004-01-20 03:37:17 -05:00
|
|
|
}
|
|
|
|
|
2005-06-29 03:39:28 -04:00
|
|
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVEvaluators_nglGetMapAttribParameterivNV(JNIEnv *env, jclass clazz, jint target, jint index, jint pname, jobject params, jint params_position, jlong function_pointer) {
|
|
|
|
GLint *params_address = ((GLint *)(*env)->GetDirectBufferAddress(env, params)) + params_position;
|
|
|
|
glGetMapAttribParameterivNVPROC glGetMapAttribParameterivNV = (glGetMapAttribParameterivNVPROC)((intptr_t)function_pointer);
|
|
|
|
glGetMapAttribParameterivNV(target, index, pname, params_address);
|
2004-01-20 03:37:17 -05:00
|
|
|
}
|
|
|
|
|
2005-06-29 03:39:28 -04:00
|
|
|
JNIEXPORT void JNICALL Java_org_lwjgl_opengl_NVEvaluators_nglEvalMapsNV(JNIEnv *env, jclass clazz, jint target, jint mode, jlong function_pointer) {
|
|
|
|
glEvalMapsNVPROC glEvalMapsNV = (glEvalMapsNVPROC)((intptr_t)function_pointer);
|
|
|
|
glEvalMapsNV(target, mode);
|
2004-01-20 03:37:17 -05:00
|
|
|
}
|
2004-03-07 10:18:47 -05:00
|
|
|
|