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 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 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 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 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 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 glExtGetProgramBinarySourceQCOM( int program, int shadertype, ByteBuffer source, IntBuffer length) { BufferChecks.checkDirect(source); BufferChecks.checkBuffer(length, 1); nglExtGetProgramBinarySourceQCOM( program, shadertype, MemoryUtil.getAddress(source), MemoryUtil.getAddress(length)); }
public static void glGetCompressedTexImageARB(int target, int lod, ByteBuffer pImg) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetCompressedTexImageARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensurePackPBOdisabled(caps); BufferChecks.checkDirect(pImg); nglGetCompressedTexImageARB(target, lod, MemoryUtil.getAddress(pImg), function_pointer); }
/* */ public static void glGetUniformARB(int programObj, int location, IntBuffer params) { /* 522 */ ContextCapabilities caps = GLContext.getCapabilities(); /* 523 */ long function_pointer = caps.glGetUniformivARB; /* 524 */ BufferChecks.checkFunctionAddress(function_pointer); /* 525 */ BufferChecks.checkDirect(params); /* 526 */ nglGetUniformivARB( programObj, location, MemoryUtil.getAddress(params), 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 glGetObjectParameterARB(int obj, int pname, IntBuffer params) { /* 360 */ ContextCapabilities caps = GLContext.getCapabilities(); /* 361 */ long function_pointer = caps.glGetObjectParameterivARB; /* 362 */ BufferChecks.checkFunctionAddress(function_pointer); /* 363 */ BufferChecks.checkDirect(params); /* 364 */ nglGetObjectParameterivARB( obj, pname, MemoryUtil.getAddress(params), function_pointer); /* */ }
/* */ public static void glUniform4ARB(int location, IntBuffer values) { /* 305 */ ContextCapabilities caps = GLContext.getCapabilities(); /* 306 */ long function_pointer = caps.glUniform4ivARB; /* 307 */ BufferChecks.checkFunctionAddress(function_pointer); /* 308 */ BufferChecks.checkDirect(values); /* 309 */ nglUniform4ivARB( location, values.remaining() >> 2, MemoryUtil.getAddress(values), function_pointer); /* */ }
/* */ public static void glUniform3ARB(int location, FloatBuffer values) { /* 260 */ ContextCapabilities caps = GLContext.getCapabilities(); /* 261 */ long function_pointer = caps.glUniform3fvARB; /* 262 */ BufferChecks.checkFunctionAddress(function_pointer); /* 263 */ BufferChecks.checkDirect(values); /* 264 */ nglUniform3fvARB( location, values.remaining() / 3, MemoryUtil.getAddress(values), function_pointer); /* */ }
/* */ public static void glShaderSourceARB(int shader, ByteBuffer string) /* */ { /* 102 */ ContextCapabilities caps = GLContext.getCapabilities(); /* 103 */ long function_pointer = caps.glShaderSourceARB; /* 104 */ BufferChecks.checkFunctionAddress(function_pointer); /* 105 */ BufferChecks.checkDirect(string); /* 106 */ nglShaderSourceARB( shader, 1, MemoryUtil.getAddress(string), string.remaining(), function_pointer); /* */ }
public static void glDebugMessageInsertARB( int source, int type, int id, int severity, ByteBuffer buf) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glDebugMessageInsertARB; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(buf); nglDebugMessageInsertARB( source, type, id, severity, buf.remaining(), buf, buf.position(), function_pointer); }
public static int glGetFragDataLocationEXT(int program, ByteBuffer name) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetFragDataLocationEXT; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(name); BufferChecks.checkNullTerminated(name); int __result = nglGetFragDataLocationEXT(program, name, name.position(), function_pointer); return __result; }
/* */ public static int glGetUniformLocationARB(int programObj, ByteBuffer name) /* */ { /* 419 */ ContextCapabilities caps = GLContext.getCapabilities(); /* 420 */ long function_pointer = caps.glGetUniformLocationARB; /* 421 */ BufferChecks.checkFunctionAddress(function_pointer); /* 422 */ BufferChecks.checkDirect(name); /* 423 */ BufferChecks.checkNullTerminated(name); /* 424 */ int __result = nglGetUniformLocationARB(programObj, MemoryUtil.getAddress(name), function_pointer); /* 425 */ return __result; /* */ }
public static void glWeightPointerARB(int size, int stride, FloatBuffer pPointer) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glWeightPointerARB; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOdisabled(caps); BufferChecks.checkDirect(pPointer); if (LWJGLUtil.CHECKS) StateTracker.getReferences(caps).ARB_vertex_blend_glWeightPointerARB_pPointer = pPointer; nglWeightPointerARB( size, GL11.GL_FLOAT, stride, MemoryUtil.getAddress(pPointer), function_pointer); }
public static void glVertexAttribIPointerEXT( int index, int size, int type, int stride, ShortBuffer buffer) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glVertexAttribIPointerEXT; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureArrayVBOdisabled(caps); BufferChecks.checkDirect(buffer); if (LWJGLUtil.CHECKS) StateTracker.getReferences(caps).EXT_gpu_shader4_glVertexAttribIPointerEXT_buffer = buffer; nglVertexAttribIPointerEXT( index, size, type, stride, buffer, buffer.position() << 1, function_pointer); }
public static int clIcdGetPlatformIDsKHR(PointerBuffer platforms, IntBuffer num_platforms) { long function_pointer = CLCapabilities.clIcdGetPlatformIDsKHR; BufferChecks.checkFunctionAddress(function_pointer); if (platforms != null) BufferChecks.checkDirect(platforms); if (num_platforms != null) BufferChecks.checkBuffer(num_platforms, 1); int __result = nclIcdGetPlatformIDsKHR( (platforms == null ? 0 : platforms.remaining()), MemoryUtil.getAddressSafe(platforms), MemoryUtil.getAddressSafe(num_platforms), function_pointer); return __result; }
/* */ public static void glUniformMatrix4ARB( int location, boolean transpose, FloatBuffer matrices) { /* 332 */ ContextCapabilities caps = GLContext.getCapabilities(); /* 333 */ long function_pointer = caps.glUniformMatrix4fvARB; /* 334 */ BufferChecks.checkFunctionAddress(function_pointer); /* 335 */ BufferChecks.checkDirect(matrices); /* 336 */ nglUniformMatrix4fvARB( location, matrices.remaining() >> 4, transpose, MemoryUtil.getAddress(matrices), function_pointer); /* */ }
/* */ public static void glGetInfoLogARB(int obj, IntBuffer length, ByteBuffer infoLog) { /* 379 */ ContextCapabilities caps = GLContext.getCapabilities(); /* 380 */ long function_pointer = caps.glGetInfoLogARB; /* 381 */ BufferChecks.checkFunctionAddress(function_pointer); /* 382 */ if (length != null) /* 383 */ BufferChecks.checkBuffer(length, 1); /* 384 */ BufferChecks.checkDirect(infoLog); /* 385 */ nglGetInfoLogARB( obj, infoLog.remaining(), MemoryUtil.getAddressSafe(length), MemoryUtil.getAddress(infoLog), function_pointer); /* */ }
/* */ public static void glGetShaderSourceARB(int obj, IntBuffer length, ByteBuffer source) { /* 531 */ ContextCapabilities caps = GLContext.getCapabilities(); /* 532 */ long function_pointer = caps.glGetShaderSourceARB; /* 533 */ BufferChecks.checkFunctionAddress(function_pointer); /* 534 */ if (length != null) /* 535 */ BufferChecks.checkBuffer(length, 1); /* 536 */ BufferChecks.checkDirect(source); /* 537 */ nglGetShaderSourceARB( obj, source.remaining(), MemoryUtil.getAddressSafe(length), MemoryUtil.getAddress(source), function_pointer); /* */ }
/* */ public static void glGetAttachedObjectsARB( int containerObj, IntBuffer count, IntBuffer obj) { /* 402 */ ContextCapabilities caps = GLContext.getCapabilities(); /* 403 */ long function_pointer = caps.glGetAttachedObjectsARB; /* 404 */ BufferChecks.checkFunctionAddress(function_pointer); /* 405 */ if (count != null) /* 406 */ BufferChecks.checkBuffer(count, 1); /* 407 */ BufferChecks.checkDirect(obj); /* 408 */ nglGetAttachedObjectsARB( containerObj, obj.remaining(), MemoryUtil.getAddressSafe(count), MemoryUtil.getAddress(obj), function_pointer); /* */ }
public static void glGetInternalformat( int target, int internalformat, int pname, IntBuffer params) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glGetInternalformativ; BufferChecks.checkFunctionAddress(function_pointer); BufferChecks.checkDirect(params); nglGetInternalformativ( target, internalformat, pname, params.remaining(), MemoryUtil.getAddress(params), function_pointer); }
public static void glDrawElementsBaseVertex(int mode, ShortBuffer indices, int basevertex) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.ARB_draw_elements_base_vertex_glDrawElementsBaseVertex_pointer; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureElementVBOdisabled(caps); BufferChecks.checkDirect(indices); nglDrawElementsBaseVertex( mode, (indices.remaining()), GL11.GL_UNSIGNED_SHORT, indices, indices.position() << 1, basevertex, function_pointer); }
/* */ public static void glDrawElementsInstancedEXT( int mode, ShortBuffer indices, int primcount) { /* 37 */ ContextCapabilities caps = GLContext.getCapabilities(); /* 38 */ long function_pointer = caps.glDrawElementsInstancedEXT; /* 39 */ BufferChecks.checkFunctionAddress(function_pointer); /* 40 */ GLChecks.ensureElementVBOdisabled(caps); /* 41 */ BufferChecks.checkDirect(indices); /* 42 */ nglDrawElementsInstancedEXT( mode, indices.remaining(), 5123, MemoryUtil.getAddress(indices), primcount, function_pointer); /* */ }
public static void glDebugMessageControlARB( int source, int type, int severity, IntBuffer ids, boolean enabled) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glDebugMessageControlARB; BufferChecks.checkFunctionAddress(function_pointer); if (ids != null) BufferChecks.checkDirect(ids); nglDebugMessageControlARB( source, type, severity, (ids == null ? 0 : ids.remaining()), ids, ids != null ? ids.position() : 0, enabled, function_pointer); }
public static void glDrawElementsInstancedBaseInstance( int mode, ShortBuffer indices, int primcount, int baseinstance) { ContextCapabilities caps = GLContext.getCapabilities(); long function_pointer = caps.glDrawElementsInstancedBaseInstance; BufferChecks.checkFunctionAddress(function_pointer); GLChecks.ensureElementVBOdisabled(caps); BufferChecks.checkDirect(indices); nglDrawElementsInstancedBaseInstance( mode, indices.remaining(), GL11.GL_UNSIGNED_SHORT, MemoryUtil.getAddress(indices), primcount, baseinstance, function_pointer); }