Registers a WebGL2RenderingContext for a WebGlContextDescriptor of kind existing. Create the context with a depth and a stencil buffer.
WebGL2RenderingContext
WebGlContextDescriptor
existing
Throws a TypeError when context is not a WebGL2RenderingContext.
TypeError
context
Registers a
WebGL2RenderingContextfor aWebGlContextDescriptorof kindexisting. Create the context with a depth and a stencil buffer.Throws a
TypeErrorwhencontextis not aWebGL2RenderingContext.