Creates a new WebGL2FrameBuffer.
The WebGL2 context.
Width, height, and optional format overrides.
Gets the WebGL texture associated with this framebuffer.
Binds the framebuffer for rendering.
Destroys the framebuffer and its resources.
Resizes the framebuffer.
The new width.
The new height.
Unbinds the framebuffer, reverting to the default screen buffer.
Encapsulates a WebGL2 Framebuffer with a color texture and depth/stencil renderbuffer.