/** Single return value version of: {@link #glGenQueries GenQueries} */
 public static int glGenQueries() {
   APIBuffer __buffer = apiBuffer();
   int ids = __buffer.intParam();
   nglGenQueries(1, __buffer.address(ids));
   return __buffer.intValue(ids);
 }
 /**
  * <a href="http://www.opengl.org/sdk/docs/man/html/glGenQueries.xhtml">OpenGL SDK Reference</a>
  * Generates query object names.
  *
  * @param n the number of query object names to be generated
  * @param ids a buffer in which the generated query object names are stored
  */
 public static void glGenQueries(int n, ByteBuffer ids) {
   if (LWJGLUtil.CHECKS) checkBuffer(ids, n << 2);
   nglGenQueries(n, memAddress(ids));
 }
 /** Alternative version of: {@link #glGenQueries GenQueries} */
 public static void glGenQueries(IntBuffer ids) {
   nglGenQueries(ids.remaining(), memAddress(ids));
 }
 /** Unsafe version of {@link #glGenQueries GenQueries} */
 @JavadocExclude
 public static void nglGenQueries(int n, long ids) {
   long __functionAddress = getInstance().GenQueries;
   nglGenQueries(n, ids, __functionAddress);
 }