예제 #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));
 }
예제 #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);
 }
예제 #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);
 }