Creates a new WebGL2DepthFrameBuffer.
The WebGL2 context.
The width of the buffer.
The height of the buffer.
Gets the WebGL depth texture associated with this framebuffer.
Binds the framebuffer for rendering depth.
Destroys the framebuffer and its resources.
Resizes the depth framebuffer.
The new width.
The new height.
Unbinds the framebuffer, reverting to the default screen buffer.
Encapsulates a WebGL2 Framebuffer configured specifically for depth rendering (Shadow Maps). It has NO color attachment and a DEPTH_COMPONENT32F texture attachment.