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
|
|
|
|
2005-05-05 12:02:45 +02:00
|
|
|
import org.lwjgl.LWJGLException;
|
2004-07-29 13:20:43 +02:00
|
|
|
import org.lwjgl.BufferChecks;
|
2005-05-05 12:02:45 +02:00
|
|
|
import java.nio.*;
|
2004-07-04 15:14:06 +02:00
|
|
|
|
2004-02-19 00:54:46 +01:00
|
|
|
public final class NVVertexArrayRange {
|
2005-02-15 12:05:36 +01:00
|
|
|
public static final int GL_VERTEX_ARRAY_RANGE_NV = 0x851d;
|
2005-06-29 09:39:28 +02:00
|
|
|
public static final int GL_VERTEX_ARRAY_RANGE_LENGTH_NV = 0x851e;
|
|
|
|
|
public static final int GL_VERTEX_ARRAY_RANGE_VALID_NV = 0x851f;
|
|
|
|
|
public static final int GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV = 0x8520;
|
|
|
|
|
public static final int GL_VERTEX_ARRAY_RANGE_POINTER_NV = 0x8521;
|
2004-01-20 09:37:17 +01:00
|
|
|
|
2004-07-31 11:34:09 +02:00
|
|
|
private NVVertexArrayRange() {
|
|
|
|
|
}
|
|
|
|
|
|
2004-07-03 23:12:33 +02:00
|
|
|
|
2005-02-16 17:04:29 +01:00
|
|
|
public static void glVertexArrayRangeNV(ByteBuffer pPointer) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().NV_vertex_array_range_glVertexArrayRangeNV_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(pPointer);
|
2005-02-16 17:04:29 +01:00
|
|
|
nglVertexArrayRangeNV((pPointer.remaining()), pPointer, pPointer.position(), function_pointer);
|
2005-02-15 12:05:36 +01:00
|
|
|
}
|
2005-02-16 21:25:23 +01:00
|
|
|
public static void glVertexArrayRangeNV(FloatBuffer pPointer) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().NV_vertex_array_range_glVertexArrayRangeNV_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(pPointer);
|
2005-02-16 21:25:23 +01:00
|
|
|
nglVertexArrayRangeNV((pPointer.remaining() << 2), pPointer, pPointer.position() << 2, function_pointer);
|
2005-02-16 17:04:29 +01:00
|
|
|
}
|
2005-02-16 21:25:23 +01:00
|
|
|
public static void glVertexArrayRangeNV(IntBuffer pPointer) {
|
2005-02-16 17:04:29 +01:00
|
|
|
long function_pointer = GLContext.getCapabilities().NV_vertex_array_range_glVertexArrayRangeNV_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(pPointer);
|
2005-02-16 17:04:29 +01:00
|
|
|
nglVertexArrayRangeNV((pPointer.remaining() << 2), pPointer, pPointer.position() << 2, function_pointer);
|
2005-02-16 13:58:40 +01:00
|
|
|
}
|
2005-02-16 22:46:03 +01:00
|
|
|
public static void glVertexArrayRangeNV(ShortBuffer pPointer) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().NV_vertex_array_range_glVertexArrayRangeNV_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
2005-03-21 09:27:45 +01:00
|
|
|
BufferChecks.checkDirect(pPointer);
|
2005-02-16 22:46:03 +01:00
|
|
|
nglVertexArrayRangeNV((pPointer.remaining() << 1), pPointer, pPointer.position() << 1, function_pointer);
|
|
|
|
|
}
|
2005-02-16 17:04:29 +01:00
|
|
|
private static native void nglVertexArrayRangeNV(int size, Buffer pPointer, int pPointer_position, long function_pointer);
|
2005-06-29 09:39:28 +02:00
|
|
|
|
|
|
|
|
public static void glFlushVertexArrayRangeNV() {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().NV_vertex_array_range_glFlushVertexArrayRangeNV_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
nglFlushVertexArrayRangeNV(function_pointer);
|
|
|
|
|
}
|
|
|
|
|
private static native void nglFlushVertexArrayRangeNV(long function_pointer);
|
|
|
|
|
|
|
|
|
|
public static java.nio.ByteBuffer glAllocateMemoryNV(int size, float readFrequency, float writeFrequency, float priority) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().NV_vertex_array_range_glAllocateMemoryNV_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
java.nio.ByteBuffer __result = nglAllocateMemoryNV(size, readFrequency, writeFrequency, priority, size, function_pointer);
|
|
|
|
|
return __result;
|
|
|
|
|
}
|
|
|
|
|
private static native java.nio.ByteBuffer nglAllocateMemoryNV(int size, float readFrequency, float writeFrequency, float priority, int result_size, long function_pointer);
|
|
|
|
|
|
|
|
|
|
public static void glFreeMemoryNV(ByteBuffer pointer) {
|
|
|
|
|
long function_pointer = GLContext.getCapabilities().NV_vertex_array_range_glFreeMemoryNV_pointer;
|
|
|
|
|
BufferChecks.checkFunctionAddress(function_pointer);
|
|
|
|
|
BufferChecks.checkDirect(pointer);
|
|
|
|
|
nglFreeMemoryNV(pointer, pointer.position(), function_pointer);
|
|
|
|
|
}
|
|
|
|
|
private static native void nglFreeMemoryNV(Buffer pointer, int pointer_position, long function_pointer);
|
2003-08-17 18:38:57 +02:00
|
|
|
}
|