コード例 #1
0
 /** Overloads glGenRenderbuffersOES. */
 public static int glGenRenderbuffersOES() {
   IntBuffer renderbuffers = APIUtil.getBufferInt();
   nglGenRenderbuffersOES(1, MemoryUtil.getAddress(renderbuffers));
   return renderbuffers.get(0);
 }
コード例 #2
0
 public static void glGenRenderbuffersOES(IntBuffer renderbuffers) {
   BufferChecks.checkDirect(renderbuffers);
   nglGenRenderbuffersOES(renderbuffers.remaining(), MemoryUtil.getAddress(renderbuffers));
 }