コード例 #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);
 }