Options to create or update a GL framebuffer; with:
depth: Any framebuffer depth attachment, or a flag for whether it
should be created.stencil: Any framebuffer stencil attachment, or a flag for whether it
should be created.width: The width of the framebuffer.height: The height of the framebuffer.color: The texture attachments to use.Optionaldepth?: objectOptionalstencil?: objectOptionalwidth?: numberOptionalheight?: numberOptionalcolor?: texture[]
A
functionto create or update aGLframebuffer; via aGLapi.See
This
Updates any
thisvalue'sframebufferin-place (or similar handling); otherwise ifnullish, returns a newframebuffer.Returns
A
GLframebuffercreated or updated by any givenoptions, or anobjectserving that purpose.