Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/gluten/src/webgl/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.5/src/webgl/mod.ts";

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