W3cubDocs

/Deno

GPUQueue

class GPUQueue implements GPUObjectBase {
label: string | null;
onSubmittedWorkDone(): Promise<undefined>;
submit(commandBuffers: GPUCommandBuffer[]): undefined;
writeBuffer(
buffer: GPUBuffer,
bufferOffset: number,
data: BufferSource,
dataOffset?: number,
size?: number,
): undefined;
writeTexture(
destination: GPUImageCopyTexture,
data: BufferSource,
dataLayout: GPUImageDataLayout,
size: GPUExtent3D,
): undefined;
}

Implements

Properties

label: string | null

Methods

onSubmittedWorkDone(): Promise<undefined>
submit(commandBuffers: GPUCommandBuffer[]): undefined
writeBuffer(buffer: GPUBuffer, bufferOffset: number, data: BufferSource, dataOffset?: number, size?: number): undefined
writeTexture(destination: GPUImageCopyTexture, data: BufferSource, dataLayout: GPUImageDataLayout, size: GPUExtent3D): undefined

© 2018–2021 the Deno authors
https://doc.deno.land/deno/stable/~/GPUQueue