Exemplo n.º 1
0
 /*     */ public static void glGetObjectParameterARB(int obj, int pname, IntBuffer params) {
   /* 360 */ ContextCapabilities caps = GLContext.getCapabilities();
   /* 361 */ long function_pointer = caps.glGetObjectParameterivARB;
   /* 362 */ BufferChecks.checkFunctionAddress(function_pointer);
   /* 363 */ BufferChecks.checkDirect(params);
   /* 364 */ nglGetObjectParameterivARB(
       obj, pname, MemoryUtil.getAddress(params), function_pointer);
   /*     */ }
Exemplo n.º 2
0
 /*     */ public static int glGetObjectParameteriARB(int obj, int pname) {
   /* 370 */ ContextCapabilities caps = GLContext.getCapabilities();
   /* 371 */ long function_pointer = caps.glGetObjectParameterivARB;
   /* 372 */ BufferChecks.checkFunctionAddress(function_pointer);
   /* 373 */ IntBuffer params = APIUtil.getBufferInt(caps);
   /* 374 */ nglGetObjectParameterivARB(
       obj, pname, MemoryUtil.getAddress(params), function_pointer);
   /* 375 */ return params.get(0);
   /*     */ }