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 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);
 }