/* MACHINE GENERATED FILE, DO NOT EDIT */ package org.lwjgl.opengl; import org.lwjgl.*; import java.nio.*; public final class ATIVertexArrayObject { public static final int GL_STATIC_ATI = 0x8760, GL_DYNAMIC_ATI = 0x8761, GL_PRESERVE_ATI = 0x8762, GL_DISCARD_ATI = 0x8763, GL_OBJECT_BUFFER_SIZE_ATI = 0x8764, GL_OBJECT_BUFFER_USAGE_ATI = 0x8765, GL_ARRAY_OBJECT_BUFFER_ATI = 0x8766, GL_ARRAY_OBJECT_OFFSET_ATI = 0x8767; private ATIVertexArrayObject() {} public static int glNewObjectBufferATI(int pPointer_size, int usage) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glNewObjectBufferATI; BufferChecks.checkFunctionAddress(function_pointer); int __result = nglNewObjectBufferATI(pPointer_size, 0L, usage, function_pointer); return __result; } public static int glNewObjectBufferATI(ByteBuffer pPointer, int usage) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glNewObjectBufferATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(pPointer); int __result = nglNewObjectBufferATI(pPointer.remaining(), MemoryUtil.getAddress(pPointer), usage, function_pointer); return __result; } public static int glNewObjectBufferATI(DoubleBuffer pPointer, int usage) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glNewObjectBufferATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(pPointer); int __result = nglNewObjectBufferATI((pPointer.remaining() << 3), MemoryUtil.getAddress(pPointer), usage, function_pointer); return __result; } public static int glNewObjectBufferATI(FloatBuffer pPointer, int usage) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glNewObjectBufferATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(pPointer); int __result = nglNewObjectBufferATI((pPointer.remaining() << 2), MemoryUtil.getAddress(pPointer), usage, function_pointer); return __result; } public static int glNewObjectBufferATI(IntBuffer pPointer, int usage) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glNewObjectBufferATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(pPointer); int __result = nglNewObjectBufferATI((pPointer.remaining() << 2), MemoryUtil.getAddress(pPointer), usage, function_pointer); return __result; } public static int glNewObjectBufferATI(ShortBuffer pPointer, int usage) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glNewObjectBufferATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(pPointer); int __result = nglNewObjectBufferATI((pPointer.remaining() << 1), MemoryUtil.getAddress(pPointer), usage, function_pointer); return __result; } static native int nglNewObjectBufferATI(int pPointer_size, long pPointer, int usage, long function_pointer); public static boolean glIsObjectBufferATI(int buffer) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glIsObjectBufferATI; BufferChecks.checkFunctionAddress(function_pointer); boolean __result = nglIsObjectBufferATI(buffer, function_pointer); return __result; } static native boolean nglIsObjectBufferATI(int buffer, long function_pointer); public static void glUpdateObjectBufferATI(int buffer, int offset, ByteBuffer pPointer, int preserve) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glUpdateObjectBufferATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(pPointer); nglUpdateObjectBufferATI(buffer, offset, pPointer.remaining(), MemoryUtil.getAddress(pPointer), preserve, function_pointer); } public static void glUpdateObjectBufferATI(int buffer, int offset, DoubleBuffer pPointer, int preserve) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glUpdateObjectBufferATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(pPointer); nglUpdateObjectBufferATI(buffer, offset, (pPointer.remaining() << 3), MemoryUtil.getAddress(pPointer), preserve, function_pointer); } public static void glUpdateObjectBufferATI(int buffer, int offset, FloatBuffer pPointer, int preserve) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glUpdateObjectBufferATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(pPointer); nglUpdateObjectBufferATI(buffer, offset, (pPointer.remaining() << 2), MemoryUtil.getAddress(pPointer), preserve, function_pointer); } public static void glUpdateObjectBufferATI(int buffer, int offset, IntBuffer pPointer, int preserve) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glUpdateObjectBufferATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(pPointer); nglUpdateObjectBufferATI(buffer, offset, (pPointer.remaining() << 2), MemoryUtil.getAddress(pPointer), preserve, function_pointer); } public static void glUpdateObjectBufferATI(int buffer, int offset, ShortBuffer pPointer, int preserve) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glUpdateObjectBufferATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(pPointer); nglUpdateObjectBufferATI(buffer, offset, (pPointer.remaining() << 1), MemoryUtil.getAddress(pPointer), preserve, function_pointer); } static native void nglUpdateObjectBufferATI(int buffer, int offset, int pPointer_size, long pPointer, int preserve, long function_pointer); public static void glGetObjectBufferATI(int buffer, int pname, FloatBuffer params) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetObjectBufferfvATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(params); nglGetObjectBufferfvATI(buffer, pname, MemoryUtil.getAddress(params), function_pointer); } static native void nglGetObjectBufferfvATI(int buffer, int pname, long params, long function_pointer); public static void glGetObjectBufferATI(int buffer, int pname, IntBuffer params) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetObjectBufferivATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(params); nglGetObjectBufferivATI(buffer, pname, MemoryUtil.getAddress(params), function_pointer); } static native void nglGetObjectBufferivATI(int buffer, int pname, long params, long function_pointer); /** Overloads glGetObjectBufferivATI. */ public static int glGetObjectBufferiATI(int buffer, int pname) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetObjectBufferivATI; BufferChecks.checkFunctionAddress(function_pointer); IntBuffer params = APIUtil.getBufferInt(caps); nglGetObjectBufferivATI(buffer, pname, MemoryUtil.getAddress(params), function_pointer); return params.get(0); } public static void glFreeObjectBufferATI(int buffer) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glFreeObjectBufferATI; BufferChecks.checkFunctionAddress(function_pointer); nglFreeObjectBufferATI(buffer, function_pointer); } static native void nglFreeObjectBufferATI(int buffer, long function_pointer); public static void glArrayObjectATI(int array, int size, int type, int stride, int buffer, int offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glArrayObjectATI; BufferChecks.checkFunctionAddress(function_pointer); nglArrayObjectATI(array, size, type, stride, buffer, offset, function_pointer); } static native void nglArrayObjectATI(int array, int size, int type, int stride, int buffer, int offset, long function_pointer); public static void glGetArrayObjectATI(int array, int pname, FloatBuffer params) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetArrayObjectfvATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(params, 4); nglGetArrayObjectfvATI(array, pname, MemoryUtil.getAddress(params), function_pointer); } static native void nglGetArrayObjectfvATI(int array, int pname, long params, long function_pointer); public static void glGetArrayObjectATI(int array, int pname, IntBuffer params) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetArrayObjectivATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(params, 4); nglGetArrayObjectivATI(array, pname, MemoryUtil.getAddress(params), function_pointer); } static native void nglGetArrayObjectivATI(int array, int pname, long params, long function_pointer); public static void glVariantArrayObjectATI(int id, int type, int stride, int buffer, int offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glVariantArrayObjectATI; BufferChecks.checkFunctionAddress(function_pointer); nglVariantArrayObjectATI(id, type, stride, buffer, offset, function_pointer); } static native void nglVariantArrayObjectATI(int id, int type, int stride, int buffer, int offset, long function_pointer); public static void glGetVariantArrayObjectATI(int id, int pname, FloatBuffer params) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetVariantArrayObjectfvATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(params, 4); nglGetVariantArrayObjectfvATI(id, pname, MemoryUtil.getAddress(params), function_pointer); } static native void nglGetVariantArrayObjectfvATI(int id, int pname, long params, long function_pointer); public static void glGetVariantArrayObjectATI(int id, int pname, IntBuffer params) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetVariantArrayObjectivATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(params, 4); nglGetVariantArrayObjectivATI(id, pname, MemoryUtil.getAddress(params), function_pointer); } static native void nglGetVariantArrayObjectivATI(int id, int pname, long params, long function_pointer); }