Beispiel #1
0
 /** Alternative version of: {@link #glGetQueryObjectiv GetQueryObjectiv} */
 public static void glGetQueryObjectiv(int id, int pname, IntBuffer params) {
   if (LWJGLUtil.CHECKS) checkBuffer(params, 1);
   nglGetQueryObjectiv(id, pname, memAddress(params));
 }
Beispiel #2
0
 /** Single return value version of: {@link #glGetQueryObjectiv GetQueryObjectiv} */
 public static int glGetQueryObjecti(int id, int pname) {
   APIBuffer __buffer = apiBuffer();
   int params = __buffer.intParam();
   nglGetQueryObjectiv(id, pname, __buffer.address(params));
   return __buffer.intValue(params);
 }
Beispiel #3
0
 /** Unsafe version of {@link #glGetQueryObjectiv GetQueryObjectiv} */
 @JavadocExclude
 public static void nglGetQueryObjectiv(int id, int pname, long params) {
   long __functionAddress = getInstance().GetQueryObjectiv;
   nglGetQueryObjectiv(id, pname, params, __functionAddress);
 }