getContextAttributes method
The WebGLRenderingContext.getContextAttributes() method
returns a WebGLContextAttributes object that contains the actual context
parameters. Might return
null,
if the context is lost.
Implementation
external WebGLContextAttributes? getContextAttributes();