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

x/dwm/ext/canvas.ts>DwmWindow#windowSurface

Deno Window Manager: Cross-platform window creation and management
Latest
method DwmWindow.prototype.windowSurface
Re-export
import { DwmWindow } from "https://deno.land/x/dwm@0.3.6/ext/canvas.ts";

Creates a Window Surface for Use with WebGPU

const surface = win.windowSurface();
const context = surface.getContext("webgpu");