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

x/daybreak/src/wgpu/mod.ts>WGPUDevice#createSwapChain

[WIP] WebGPU API implementation for Deno, built using Dawn with FFI.
Latest
method WGPUDevice.prototype.createSwapChain
import { WGPUDevice } from "https://deno.land/x/daybreak@0.1.2/src/wgpu/mod.ts";

Parameters

surface: wgpu.WGPUSurface
descriptor: wgpu.WGPUSwapChainDescriptor

Returns

wgpu.WGPUSwapChain