GPUCommandEncoder

class GPUCommandEncoder implements GPUObjectBase {
label: string | null;
 
beginComputePass(descriptor?: GPUComputePassDescriptor): GPUComputePassEncoder;
beginRenderPass(descriptor: GPURenderPassDescriptor): GPURenderPassEncoder;
copyBufferToBuffer(
source: GPUBuffer,
sourceOffset: number,
destination: GPUBuffer,
destinationOffset: number,
size: number,
): undefined;
copyBufferToTexture(
destination: GPUImageCopyTexture,
copySize: GPUExtent3D,
): undefined;
copyTextureToBuffer(
destination: GPUImageCopyBuffer,
copySize: GPUExtent3D,
): undefined;
copyTextureToTexture(
destination: GPUImageCopyTexture,
copySize: GPUExtent3D,
): undefined;
insertDebugMarker(markerLabel: string): undefined;
popDebugGroup(): undefined;
pushDebugGroup(groupLabel: string): undefined;
resolveQuerySet(
querySet: GPUQuerySet,
firstQuery: number,
queryCount: number,
destination: GPUBuffer,
destinationOffset: number,
): undefined;
writeTimestamp(querySet: GPUQuerySet, queryIndex: number): undefined;
}

§Implements

§Properties

§
label: string | null
[src]

§Methods

§
copyBufferToBuffer(source: GPUBuffer, sourceOffset: number, destination: GPUBuffer, destinationOffset: number, size: number): undefined
[src]
§
copyBufferToTexture(source: GPUImageCopyBuffer, destination: GPUImageCopyTexture, copySize: GPUExtent3D): undefined
[src]
§
copyTextureToBuffer(source: GPUImageCopyTexture, destination: GPUImageCopyBuffer, copySize: GPUExtent3D): undefined
[src]
§
copyTextureToTexture(source: GPUImageCopyTexture, destination: GPUImageCopyTexture, copySize: GPUExtent3D): undefined
[src]
§
insertDebugMarker(markerLabel: string): undefined
[src]
§
popDebugGroup(): undefined
[src]
§
pushDebugGroup(groupLabel: string): undefined
[src]
§
resolveQuerySet(querySet: GPUQuerySet, firstQuery: number, queryCount: number, destination: GPUBuffer, destinationOffset: number): undefined
[src]
§
writeTimestamp(querySet: GPUQuerySet, queryIndex: number): undefined
[src]