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

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

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

Methods

copyTextureForBrowser(
source: wgpu.WGPUImageCopyTexture,
destination: wgpu.WGPUImageCopyTexture,
copySize: wgpu.WGPUExtent3D,
options: wgpu.WGPUCopyTextureForBrowserOptions,
): void
onSubmittedWorkDone(
signalValue: number,
callback: any,
userdata: unknown,
): void
submit(commandCount: number, commands: wgpu.WGPUCommandBuffer[]): void
writeBuffer(
buffer: wgpu.WGPUBuffer,
bufferOffset: number,
data: unknown[],
size: number,
): void
writeTexture(
destination: wgpu.WGPUImageCopyTexture,
data: unknown[],
dataSize: number,
dataLayout: wgpu.WGPUTextureDataLayout,
writeSize: wgpu.WGPUExtent3D,
): void