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