Readonly
Internal
__brandBegins encoding a compute pass described by descriptor
.
descriptor:
Optional
descriptor: GPUComputePassDescriptorBegins encoding a render pass described by descriptor
.
Description of the GPURenderPassEncoder to create.
Encode a command into the GPUCommandEncoder that fills a sub-region of a GPUBuffer with zeros.
Encode a command into the GPUCommandEncoder that copies data from a sub-region of a GPUBuffer to a sub-region of another GPUBuffer.
Encode a command into the GPUCommandEncoder that copies data from a sub-region of a GPUBuffer to a sub-region of one or multiple continuous texture subresources.
Combined with copySize
, defines the region of the source buffer.
Combined with copySize
, defines the region of the destination texture subresource.
copySize
:
Encode a command into the GPUCommandEncoder that copies data from a sub-region of one or multiple continuous texture subresources to a sub-region of a GPUBuffer.
Combined with copySize
, defines the region of the source texture subresources.
Combined with copySize
, defines the region of the destination buffer.
copySize
:
Encode a command into the GPUCommandEncoder that copies data from a sub-region of one or multiple contiguous texture subresources to another sub-region of one or multiple continuous texture subresources.
Combined with copySize
, defines the region of the source texture subresources.
Combined with copySize
, defines the region of the destination texture subresources.
copySize
:
Completes recording of the commands sequence and returns a corresponding GPUCommandBuffer. descriptor:
Optional
descriptor: GPUObjectDescriptorBaseEnds the labeled debug group most recently started by pushDebugGroup.
Resolves query results from a GPUQuerySet out into a range of a GPUBuffer. querySet: firstQuery: queryCount: destination: destinationOffset:
Writes a timestamp value into a querySet when all previous commands have completed executing. Note: Timestamp query values are written in nanoseconds, but how the value is determined is implementation-defined and may not increase monotonically. See [[#timestamp]] for details.
The query set that will store the timestamp values.
The index of the query in the query set.
Nominal type branding. https://github.com/microsoft/TypeScript/pull/33038