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 ATIVertexArrayObject {
|
2004-11-25 23:20:45 +01:00
|
|
|
public static final int GL_ARRAY_OBJECT_OFFSET_ATI = 0x8767;
|
2005-02-15 12:05:36 +01:00
|
|
|
public static final int GL_ARRAY_OBJECT_BUFFER_ATI = 0x8766;
|
|
|
|
|
public static final int GL_OBJECT_BUFFER_USAGE_ATI = 0x8765;
|
|
|
|
|
public static final int GL_OBJECT_BUFFER_SIZE_ATI = 0x8764;
|
|
|
|
|
public static final int GL_DISCARD_ATI = 0x8763;
|
|
|
|
|
public static final int GL_PRESERVE_ATI = 0x8762;
|
|
|
|
|
public static final int GL_DYNAMIC_ATI = 0x8761;
|
|
|
|
|
public static final int GL_STATIC_ATI = 0x8760;
|
2004-11-25 23:20:45 +01:00
|
|
|
|
2004-07-31 11:34:09 +02:00
|
|
|
private ATIVertexArrayObject() {
|
|
|
|
|
}
|
|
|
|
|
|
2004-07-03 23:12:33 +02:00
|
|
|
|
2005-02-15 12:05:36 +01:00
|
|
|
public static void glGetVariantArrayObjectATI(int id, int pname, IntBuffer params) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glGetVariantArrayObjectivATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkBuffer(params, 4);
|
2005-02-16 17:04:29 +01:00
|
|
|
nglGetVariantArrayObjectivATI(id, 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 nglGetVariantArrayObjectivATI(int id, int pname, IntBuffer params, int params_position, long function_pointer);
|
2004-11-25 23:20:45 +01:00
|
|
|
|
2005-02-15 12:05:36 +01:00
|
|
|
public static void glGetVariantArrayObjectATI(int id, int pname, FloatBuffer params) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glGetVariantArrayObjectfvATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkBuffer(params, 4);
|
2005-02-16 17:04:29 +01:00
|
|
|
nglGetVariantArrayObjectfvATI(id, 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 nglGetVariantArrayObjectfvATI(int id, int pname, FloatBuffer 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 glVariantArrayObjectATI(int id, int type, int stride, int buffer, int offset) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glVariantArrayObjectATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
nglVariantArrayObjectATI(id, type, stride, buffer, offset, function_pointer);
|
|
|
|
|
}
|
|
|
|
|
private static native void nglVariantArrayObjectATI(int id, int type, int stride, int buffer, int offset, long function_pointer);
|
2005-02-15 12:05:36 +01:00
|
|
|
|
|
|
|
|
public static void glGetArrayObjectATI(int array, int pname, IntBuffer params) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glGetArrayObjectivATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkBuffer(params, 4);
|
2005-02-16 17:04:29 +01:00
|
|
|
nglGetArrayObjectivATI(array, 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 nglGetArrayObjectivATI(int array, int pname, IntBuffer params, int params_position, long function_pointer);
|
2004-11-25 23:20:45 +01:00
|
|
|
|
2005-02-15 12:05:36 +01:00
|
|
|
public static void glGetArrayObjectATI(int array, int pname, FloatBuffer params) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glGetArrayObjectfvATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkBuffer(params, 4);
|
2005-02-16 17:04:29 +01:00
|
|
|
nglGetArrayObjectfvATI(array, 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 nglGetArrayObjectfvATI(int array, int pname, FloatBuffer 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 glArrayObjectATI(int array, int size, int type, int stride, int buffer, int offset) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glArrayObjectATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
nglArrayObjectATI(array, size, type, stride, buffer, offset, function_pointer);
|
|
|
|
|
}
|
|
|
|
|
private static native void nglArrayObjectATI(int array, int size, int type, int stride, int buffer, int offset, long function_pointer);
|
2004-11-25 23:20:45 +01:00
|
|
|
|
2005-02-16 17:04:29 +01:00
|
|
|
public static void glFreeObjectBufferATI(int buffer) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glFreeObjectBufferATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
nglFreeObjectBufferATI(buffer, function_pointer);
|
|
|
|
|
}
|
|
|
|
|
private static native void nglFreeObjectBufferATI(int buffer, long function_pointer);
|
2004-01-20 09:37:17 +01:00
|
|
|
|
2005-02-15 12:05:36 +01:00
|
|
|
public static void glGetObjectBufferATI(int buffer, int pname, IntBuffer params) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glGetObjectBufferivATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(params);
|
2005-02-16 17:04:29 +01:00
|
|
|
nglGetObjectBufferivATI(buffer, 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 nglGetObjectBufferivATI(int buffer, int pname, IntBuffer params, int params_position, long function_pointer);
|
2004-11-25 23:20:45 +01:00
|
|
|
|
2005-02-15 12:05:36 +01:00
|
|
|
public static void glGetObjectBufferATI(int buffer, int pname, FloatBuffer params) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glGetObjectBufferfvATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(params);
|
2005-02-16 17:04:29 +01:00
|
|
|
nglGetObjectBufferfvATI(buffer, 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 nglGetObjectBufferfvATI(int buffer, int pname, FloatBuffer params, int params_position, long function_pointer);
|
2004-11-25 23:20:45 +01:00
|
|
|
|
2005-02-16 22:46:03 +01:00
|
|
|
public static void glUpdateObjectBufferATI(int buffer, int offset, ByteBuffer pPointer, int preserve) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glUpdateObjectBufferATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(pPointer);
|
2005-02-16 22:46:03 +01:00
|
|
|
nglUpdateObjectBufferATI(buffer, offset, (pPointer.remaining()), pPointer, pPointer.position(), preserve, function_pointer);
|
2005-02-15 12:05:36 +01:00
|
|
|
}
|
2005-02-16 22:46:03 +01:00
|
|
|
public static void glUpdateObjectBufferATI(int buffer, int offset, FloatBuffer pPointer, int preserve) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glUpdateObjectBufferATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(pPointer);
|
2005-02-16 17:04:29 +01:00
|
|
|
nglUpdateObjectBufferATI(buffer, offset, (pPointer.remaining() << 2), pPointer, pPointer.position() << 2, preserve, function_pointer);
|
2004-01-20 09:37:17 +01:00
|
|
|
}
|
2005-02-16 22:46:03 +01:00
|
|
|
public static void glUpdateObjectBufferATI(int buffer, int offset, IntBuffer pPointer, int preserve) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glUpdateObjectBufferATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(pPointer);
|
2005-02-16 22:46:03 +01:00
|
|
|
nglUpdateObjectBufferATI(buffer, offset, (pPointer.remaining() << 2), pPointer, pPointer.position() << 2, preserve, function_pointer);
|
2004-01-20 09:37:17 +01:00
|
|
|
}
|
2005-02-16 22:46:03 +01:00
|
|
|
public static void glUpdateObjectBufferATI(int buffer, int offset, ShortBuffer pPointer, int preserve) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glUpdateObjectBufferATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(pPointer);
|
2005-02-16 22:46:03 +01:00
|
|
|
nglUpdateObjectBufferATI(buffer, offset, (pPointer.remaining() << 1), pPointer, pPointer.position() << 1, preserve, function_pointer);
|
2004-01-20 09:37:17 +01:00
|
|
|
}
|
2005-02-16 17:04:29 +01:00
|
|
|
private static native void nglUpdateObjectBufferATI(int buffer, int offset, int size, Buffer pPointer, int pPointer_position, int preserve, long function_pointer);
|
2004-11-25 23:20:45 +01:00
|
|
|
|
2005-02-16 17:04:29 +01:00
|
|
|
public static boolean glIsObjectBufferATI(int buffer) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glIsObjectBufferATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
boolean __result = nglIsObjectBufferATI(buffer, function_pointer);
|
|
|
|
|
return __result;
|
|
|
|
|
}
|
|
|
|
|
private static native boolean nglIsObjectBufferATI(int buffer, long function_pointer);
|
2004-01-20 09:37:17 +01:00
|
|
|
|
2005-02-15 12:05:36 +01:00
|
|
|
public static int glNewObjectBufferATI(int size, int usage) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glNewObjectBufferATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
int __result = nglNewObjectBufferATI(size, null, 0, usage, function_pointer);
|
2005-02-15 12:05:36 +01:00
|
|
|
return __result;
|
2004-01-20 09:37:17 +01:00
|
|
|
}
|
2005-02-16 22:46:03 +01:00
|
|
|
public static int glNewObjectBufferATI(ByteBuffer pPointer, int usage) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glNewObjectBufferATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(pPointer);
|
2005-02-16 22:46:03 +01:00
|
|
|
int __result = nglNewObjectBufferATI((pPointer.remaining()), pPointer, pPointer.position(), usage, function_pointer);
|
2005-02-15 12:05:36 +01:00
|
|
|
return __result;
|
2004-01-20 09:37:17 +01:00
|
|
|
}
|
2005-02-16 22:46:03 +01:00
|
|
|
public static int glNewObjectBufferATI(FloatBuffer pPointer, int usage) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glNewObjectBufferATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(pPointer);
|
2005-02-16 17:04:29 +01:00
|
|
|
int __result = nglNewObjectBufferATI((pPointer.remaining() << 2), pPointer, pPointer.position() << 2, usage, function_pointer);
|
2005-02-15 12:05:36 +01:00
|
|
|
return __result;
|
2004-01-20 09:37:17 +01:00
|
|
|
}
|
2005-02-16 22:46:03 +01:00
|
|
|
public static int glNewObjectBufferATI(IntBuffer pPointer, int usage) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glNewObjectBufferATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(pPointer);
|
2005-02-16 22:46:03 +01:00
|
|
|
int __result = nglNewObjectBufferATI((pPointer.remaining() << 2), pPointer, pPointer.position() << 2, usage, function_pointer);
|
2005-02-15 12:05:36 +01:00
|
|
|
return __result;
|
2004-01-20 09:37:17 +01:00
|
|
|
}
|
2005-02-16 22:46:03 +01:00
|
|
|
public static int glNewObjectBufferATI(ShortBuffer pPointer, int usage) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().ATI_vertex_array_object_glNewObjectBufferATI_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(pPointer);
|
2005-02-16 22:46:03 +01:00
|
|
|
int __result = nglNewObjectBufferATI((pPointer.remaining() << 1), pPointer, pPointer.position() << 1, usage, function_pointer);
|
2005-02-15 12:05:36 +01:00
|
|
|
return __result;
|
2004-01-20 09:37:17 +01:00
|
|
|
}
|
2005-02-16 17:04:29 +01:00
|
|
|
private static native int nglNewObjectBufferATI(int size, Buffer pPointer, int pPointer_position, int usage, long function_pointer);
|
2003-08-17 18:38:57 +02:00
|
|
|
}
|