Creates a new WebGL2CubeFrameBuffer.
The WebGL2 context.
Width, height, and optional format overrides.
Gets the WebGL texture associated with this framebuffer.
Binds a specific face of the cube map to the framebuffer for rendering.
0-5 for Positive X to Negative Z.
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 cube map color texture and depth/stencil renderbuffer.