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