GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Search e01

One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.

6 results across 6 corpora for GPUQueue.

Developer library 6

GPUQueue

WebGPU API The **`GPUQueue`** interface of the WebGPU API controls execution of encoded commands on the GPU. A device's primary queue is accessed via the GPUDevice.queue property. ## Instance properties - label - : A string providing a label that can be used to identify the object, for example in GPUError messages or console warnings. ## Instance methods - copyExternalImageToTexture() - : Copies a snapsho

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue

GPUQueue: copyExternalImageToTexture() method

WebGPU API The **`copyExternalImageToTexture()`** method of the GPUQueue interface copies a snapshot taken from a source image, video, or canvas into a given GPUTexture. Using this function allows the user agent to determine the most efficient way to copy the data over for each source type. ## Syntax ```js-nolint copyExternalImageToTexture(source, destination, copySize) ``` ### Parameters - `source` - : An ob

GPUQueue: writeBuffer() method

WebGPU API The **`writeBuffer()`** method of the GPUQueue interface writes a provided data source into a given GPUBuffer. This is a convenience function, which provides an alternative to setting buffer data via buffer mapping and buffer-to-buffer copies. It lets the user agent determine the most efficient way to copy the data over. ## Syntax ```js-nolint writeBuffer(buffer, bufferOffset, data, dataOffset, size) `

GPUQueue: onSubmittedWorkDone() method

WebGPU API 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. This includes the completion of any mapAsync() calls made on `GPUBuffer`s used in commands submitted to the queue, before `onSubmittedWorkDone()` is called. Note: In most cases, you do _not_ need

GPUQueue: writeTexture() method

WebGPU API The **`writeTexture()`** method of the GPUQueue interface writes a provided data source into a given GPUTexture. This is a convenience function, which provides an alternative to setting texture data via buffer mapping and buffer-to-texture copies. It lets the user agent determine the most efficient way to copy the data over. ## Syntax ```js-nolint writeTexture(destination, data, dataLayout, size) ```

GPUQueue: label property

WebGPU API The **`label`** property of the GPUQueue interface is a string providing a label that can be used to identify the object, for example in GPUError messages or console warnings. You can get and set it directly on the `GPUQueue` object. ## Value A string. If no label value has previously been set, getting the label returns an empty string. ## Examples Setting and getting a label via `GPUQueue.label`: `

MDN Web Docs mirror · CC BY-SA 2.5 (MDN) · https://developer.mozilla.org/en-US/docs/Web/API/GPUQueue/label

JSON results · Services directory