public static void glGetColorTableEXT(int target, int format, int type, ShortBuffer data) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetColorTableEXT; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(data); nglGetColorTableEXT(target, format, type, MemoryUtil.getAddress(data), function_pointer); }
public static void glGetColorTableParameterEXT(int target, int pname, IntBuffer params) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetColorTableParameterivEXT; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(params, 4); nglGetColorTableParameterivEXT(target, pname, MemoryUtil.getAddress(params), function_pointer); }
public static void glGetCompressedTexImageARB(int target, int lod, long pImg_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetCompressedTexImageARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOenabled(caps); nglGetCompressedTexImageARBBO(target, lod, pImg_buffer_offset, function_pointer); }
public static void glWeightARB(DoubleBuffer pWeights) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glWeightdvARB; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(pWeights); nglWeightdvARB(pWeights.remaining(), MemoryUtil.getAddress(pWeights), function_pointer); }
public static void glCompressedTexSubImage3DARB( int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, ByteBuffer pData) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage3DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOdisabled(caps); BufferChecks.checkDirect(pData); nglCompressedTexSubImage3DARB( target, level, xoffset, yoffset, zoffset, width, height, depth, format, pData.remaining(), MemoryUtil.getAddress(pData), function_pointer); }
public static void glVertexArrayRangeAPPLE(ByteBuffer pointer) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glVertexArrayRangeAPPLE; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(pointer); nglVertexArrayRangeAPPLE(pointer.remaining(), pointer, pointer.position(), function_pointer); }
public static void glCopyBufferSubData( int readTarget, int writeTarget, long readOffset, long writeOffset, long size) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.ARB_copy_buffer_glCopyBufferSubData_pointer; BufferChecks.checkFunctionAddress(function_pointer); nglCopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size, function_pointer); }
public static void glCompressedTexSubImage3DARB( int target, int level, int xoffset, int yoffset, int zoffset, int width, int height, int depth, int format, int pData_imageSize, long pData_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glCompressedTexSubImage3DARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureUnpackPBOenabled(caps); nglCompressedTexSubImage3DARBBO( target, level, xoffset, yoffset, zoffset, width, height, depth, format, pData_imageSize, pData_buffer_offset, function_pointer); }
public static void glDeleteQueriesARB(IntBuffer ids) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glDeleteQueriesARB; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(ids); nglDeleteQueriesARB(ids.remaining(), MemoryUtil.getAddress(ids), function_pointer); }
public static void glGetVertexAttribIuEXT(int index, int pname, IntBuffer params) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetVertexAttribIuivEXT; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(params, 4); nglGetVertexAttribIuivEXT(index, pname, params, params.position(), function_pointer); }
public static void glUniform4uEXT(int location, IntBuffer value) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glUniform4uivEXT; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(value); nglUniform4uivEXT(location, value.remaining() >> 2, value, value.position(), function_pointer); }
public static void glVertexAttribI4uEXT(int index, ShortBuffer v) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glVertexAttribI4usvEXT; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(v, 4); nglVertexAttribI4usvEXT(index, v, v.position(), function_pointer); }
public static boolean glIsQueryARB(int id) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glIsQueryARB; BufferChecks.checkFunctionAddress(function_pointer); boolean __result = nglIsQueryARB(id, function_pointer); return __result; }
public static void glGetQueryARB(int target, int pname, IntBuffer params) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetQueryivARB; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(params, 1); nglGetQueryivARB(target, pname, MemoryUtil.getAddress(params), function_pointer); }
public static void glBindImageTexture( int unit, int texture, int level, boolean layered, int layer, int access, int format) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glBindImageTexture; BufferChecks.checkFunctionAddress(function_pointer); nglBindImageTexture(unit, texture, level, layered, layer, access, format, function_pointer); }
/** Overloads glBindFragDataLocationEXT. */ public static void glBindFragDataLocationEXT(int program, int colorNumber, CharSequence name) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glBindFragDataLocationEXT; BufferChecks.checkFunctionAddress(function_pointer); nglBindFragDataLocationEXT( program, colorNumber, APIUtil.getBufferNT(name), 0, function_pointer); }
public static void glDrawTransformFeedbackStreamInstanced( int mode, int id, int stream, int primcount) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glDrawTransformFeedbackStreamInstanced; BufferChecks.checkFunctionAddress(function_pointer); nglDrawTransformFeedbackStreamInstanced(mode, id, stream, primcount, function_pointer); }
public static void glTexStorage3D( int target, int levels, int internalformat, int width, int height, int depth) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glTexStorage3D; BufferChecks.checkFunctionAddress(function_pointer); nglTexStorage3D(target, levels, internalformat, width, height, depth, function_pointer); }
public static void glGetUniformuEXT(int program, int location, IntBuffer params) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetUniformuivEXT; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(params); nglGetUniformuivEXT(program, location, params, params.position(), function_pointer); }
public static void glPointParameterEXT(int pname, FloatBuffer pfParams) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glPointParameterfvEXT; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(pfParams, 4); nglPointParameterfvEXT(pname, MemoryUtil.getAddress(pfParams), function_pointer); }
public static void glVertexAttribIPointerEXT( int index, int size, int type, int stride, long buffer_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glVertexAttribIPointerEXT; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(caps); nglVertexAttribIPointerEXTBO(index, size, type, stride, buffer_buffer_offset, function_pointer); }
public static void glGetVertexAttribArrayObjectATI(int index, int pname, IntBuffer params) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetVertexAttribArrayObjectivATI; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkBuffer(params, 4); nglGetVertexAttribArrayObjectivATI( index, pname, MemoryUtil.getAddress(params), function_pointer); }
public static void glWeightPointerARB( int size, int type, int stride, long pPointer_buffer_offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glWeightPointerARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOenabled(caps); nglWeightPointerARBBO(size, type, stride, pPointer_buffer_offset, function_pointer); }
public static void glDrawArraysInstancedBaseInstance( int mode, int first, int count, int primcount, int baseinstance) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glDrawArraysInstancedBaseInstance; BufferChecks.checkFunctionAddress(function_pointer); nglDrawArraysInstancedBaseInstance( mode, first, count, primcount, baseinstance, function_pointer); }
public static void glBindFragDataLocationEXT(int program, int colorNumber, ByteBuffer name) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glBindFragDataLocationEXT; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(name); BufferChecks.checkNullTerminated(name); nglBindFragDataLocationEXT(program, colorNumber, name, name.position(), function_pointer); }
public static void glVertexAttribArrayObjectATI( int index, int size, int type, boolean normalized, int stride, int buffer, int offset) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glVertexAttribArrayObjectATI; BufferChecks.checkFunctionAddress(function_pointer); nglVertexAttribArrayObjectATI( index, size, type, normalized, stride, buffer, offset, function_pointer); }
/** Overloads glGetFragDataLocationEXT. */ public static int glGetFragDataLocationEXT(int program, CharSequence name) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetFragDataLocationEXT; BufferChecks.checkFunctionAddress(function_pointer); int __result = nglGetFragDataLocationEXT(program, APIUtil.getBufferNT(name), 0, function_pointer); return __result; }
/** Overloads glGenQueriesARB. */ public static int glGenQueriesARB() { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGenQueriesARB; BufferChecks.checkFunctionAddress(function_pointer); IntBuffer ids = APIUtil.getBufferInt(caps); nglGenQueriesARB(1, MemoryUtil.getAddress(ids), function_pointer); return ids.get(0); }
/** Overloads glGetQueryObjectuivARB. */ public static int glGetQueryObjectuiARB(int id, int pname) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetQueryObjectuivARB; BufferChecks.checkFunctionAddress(function_pointer); IntBuffer params = APIUtil.getBufferInt(caps); nglGetQueryObjectuivARB(id, pname, MemoryUtil.getAddress(params), function_pointer); return params.get(0); }
/** Overloads glDebugMessageInsertARB. */ public static void glDebugMessageInsertARB( int source, int type, int id, int severity, CharSequence buf) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glDebugMessageInsertARB; BufferChecks.checkFunctionAddress(function_pointer); nglDebugMessageInsertARB( source, type, id, severity, buf.length(), APIUtil.getBuffer(buf), 0, function_pointer); }