Word description Creates a new framebuffer object comprising the given set of color-attachments, depth-attachment, and stencil-attachment. If dim is not null, all of the attachments will be resized using resize-framebuffer; otherwise, each texture or renderbuffer being attached must have image memory allocated for the framebuffer creation to succeed.
Notes User-created framebuffer objects require OpenGL 3.0 or one of the GL_ARB_framebuffer_object or GL_EXT_framebuffer_object extensions. If only the GL_EXT_framebuffer_object is available, all framebuffer attachments must have the same size, and all color attachments must have the same component-order and component-type.