Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/daybreak/src/web/context.ts>WebGLContextAttributes

[WIP] WebGPU API implementation for Deno, built using Dawn with FFI.
Go to Latest
interface WebGLContextAttributes
import { type WebGLContextAttributes } from "https://deno.land/x/daybreak@v0.0.6/src/web/context.ts";

Properties

optional
alpha: boolean
optional
depth: boolean
optional
stencil: boolean
optional
antialias: boolean
optional
premultipliedAlpha: boolean
optional
preserveDrawingBuffer: boolean
optional
powerPreference: "default" | "high-performance" | "low-power"
optional
failIfMajorPerformanceCaveat: boolean
optional
desynchronized: boolean