GPUQueue
The GPUQueue interface of the WebGPU API controls execution of encoded commands on the GPU. Available only in secure contexts.
Functions
The copyExternalImageToTexture() method of the GPUQueue interface copies a snapshot taken from a source image, video, or canvas into a given GPUTexture.
The onSubmittedWorkDone() method of the GPUQueue interface returns a Promise that resolves when all the work submitted to the GPU via this GPUQueue at the point the method is called has been processed.
The onSubmittedWorkDone() method of the GPUQueue interface returns a Promise that resolves when all the work submitted to the GPU via this GPUQueue at the point the method is called has been processed.
The submit() method of the GPUQueue interface schedules the execution of command buffers represented by one or more GPUCommandBuffer objects by the GPU.
The writeBuffer() method of the GPUQueue interface writes a provided data source into a given GPUBuffer.
The writeTexture() method of the GPUQueue interface writes a provided data source into a given GPUTexture.