A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/GPUCommandBuffer below:

GPUCommandBuffer - Web APIs | MDN

GPUCommandBuffer

Limited availability

Secure context: This feature is available only in secure contexts (HTTPS), in some or all supporting browsers.

Note: This feature is available in Web Workers.

The GPUCommandBuffer interface of the WebGPU API represents a pre-recorded list of GPU commands that can be submitted to a GPUQueue for execution.

A GPUCommandBuffer is created via the GPUCommandEncoder.finish() method; the GPU commands recorded within are submitted for execution by passing the GPUCommandBuffer into the parameter of a GPUQueue.submit() call.

Note: Once a GPUCommandBuffer object has been submitted, it cannot be used again.

Instance properties
label

A string providing a label that can be used to identify the object, for example in GPUError messages or console warnings.

Examples
// …

const commandBuffer = commandEncoder.finish();
device.queue.submit([commandBuffer]);

Note: Study the WebGPU samples to find complete examples.

Specifications Browser compatibility See also

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4