Class GPUCommandBuffer
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The GPUCommandBuffer interface of the {{domxref("WebGPU API", "WebGPU API", "", "nocode")}} represents a pre-recorded list of GPU commands that can be submitted to a GPUQueue for execution.
[Value("GPUCommandBuffer")]
public class GPUCommandBuffer
- Inheritance
-
GPUCommandBuffer
- Inherited Members
Remarks
A GPUCommandBuffer is created via the Finish(GPUCommandBufferDescriptor) method; the GPU commands recorded within are submitted for execution by passing the GPUCommandBuffer into the parameter of a Submit(List<GPUCommandBuffer>) call.
NOTE
Once a
GPUCommandBufferobject has been submitted, it cannot be used again.
-The WebGPU API
Constructors
GPUCommandBuffer()
public GPUCommandBuffer()