Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

[WIP] WebGPU API implementation for Deno, built using Dawn with FFI.
Latest
interface WebGLContextAttributes
import { type WebGLContextAttributes } from "https://deno.land/x/daybreak@0.1.2/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