Definition
WebGPU defines GPUQueue
[Exposed=(Window, Worker), SecureContext]
interface GPUQueue {
undefined submit(sequence<GPUCommandBuffer> commandBuffers);
Promise<undefined> onSubmittedWorkDone();
undefined copyExternalImageToTexture(
GPUCopyExternalImageSourceInfo source,
GPUCopyExternalImageDestInfo destination,
GPUExtent3D copySize);
};
GPUQueue includes GPUObjectBase;
Consolidated IDL (across mixin and partials)
[Exposed=(Window, Worker), SecureContext]
interface GPUQueue {
undefined submit(sequence<GPUCommandBuffer> commandBuffers);
Promise<undefined> onSubmittedWorkDone();
undefined copyExternalImageToTexture(
GPUCopyExternalImageSourceInfo source,
GPUCopyExternalImageDestInfo destination,
GPUExtent3D copySize);
attribute USVString label;
};