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

x/daybreak/src/wgpu/mod.ts>WGPUSwapChainDescriptor

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

Properties

optional
label: string
usage: wgpu.WGPUTextureUsage
format: wgpu.WGPUTextureFormat
width: number
height: number
presentMode: wgpu.WGPUPresentMode
implementation: number
nextInChain: wgpu.WGPUChainedStruct
sType: wgpu.WGPUSType