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 GPUCommandBuffer.

Developer library 6

GPUQueue

ia this `GPUQueue` at the point the method is called has been processed. - submit() - : Schedules the execution of command buffers represented by one or more GPUCommandBuffer objects by the GPU. - writeBuffer() - : Writes a provided data source into a given GPUBuffer. - writeTexture() - : Writes a provided data source into a given GPUTexture. ## Examples In our [basic render demo](https://mdn.github.io/dom-ex

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

GPUQueue: submit() method

WebGPU API The **`submit()`** method of the GPUQueue interface schedules the execution of command buffers represented by one or more GPUCommandBuffer objects by the GPU. ## Syntax ```js-nolint submit(commandBuffers) ``` ### Parameters - `commandBuffers` - : An array of GPUCommandBuffer objects containing the commands to be enqueued for processing by the GPU. The array must not contain duplicate `GPUCommandBuff

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

WebGPU API

the render pass command list. 2. We invoke the GPUCommandEncoder.finish() method to complete recording of the issued command sequence and encapsulate it into a GPUCommandBuffer object instance. 3. We submit the GPUCommandBuffer to the device's command queue (represented by a GPUQueue instance) to be sent to the GPU. The device's queue is available via the GPUDevice.queue property, and an array of GPUCommandBuffer ins

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

GPUDevice: createCommandEncoder() method

r(0, vertexBuffer); passEncoder.draw(3); // End the render pass passEncoder.end(); // … ``` The commands encoded by the GPUCommandEncoder are recoded into a GPUCommandBuffer using the GPUCommandEncoder.finish() method. The command buffer is then passed into the queue via a submit() call, ready to be processed by the GPU. ```js device.queue.submit([commandEncoder.finish()]); ``` > [!NOTE] > Study the [WebGPU samp

GPURenderPassEncoder: drawIndexedIndirect() method

t32.length); // Draw the vertices passEncoder.drawIndexedIndirect(drawValues, 0); // End the render pass passEncoder.end(); // End frame by passing array of GPUCommandBuffers to command queue for execution device.queue.submit([commandEncoder.finish()]); // … ``` ## Specifications ## Browser compatibility ## See also - The [WebGPU API](/docs/Web/API/WebGPU_API)

GPURenderPassEncoder: drawIndirect() method

0, uint32.length); // Draw the vertices passEncoder.drawIndirect(drawValues, 0); // End the render pass passEncoder.end(); // End frame by passing array of GPUCommandBuffers to command queue for execution device.queue.submit([commandEncoder.finish()]); // … ``` ## Specifications ## Browser compatibility ## See also - The [WebGPU API](/docs/Web/API/WebGPU_API)

JSON results · Services directory