Skip to main content
Module

x/gluten/mod.ts>WebGLRenderingContext#getContextAttributes

OpenGL bindings & WebGL API implementation for Deno.
Go to Latest
method WebGLRenderingContext.prototype.getContextAttributes
import { WebGLRenderingContext } from "https://deno.land/x/gluten@0.1.6/mod.ts";

Returns a WebGLContextAttributes object that contains the actual context parameters. Might return null, if the context is lost.