GPUCommandEncoder
class GPUCommandEncoder
implements GPUObjectBase {
label: string | null;
copyBufferToBuffer(
sourceOffset: number,
destinationOffset: number,
size: number,
)
: undefined;
copyBufferToTexture(
)
: undefined;
copyTextureToBuffer(
)
: undefined;
copyTextureToTexture(
)
: undefined;
insertDebugMarker(markerLabel: string): undefined;
popDebugGroup(): undefined;
pushDebugGroup(groupLabel: string): undefined;
resolveQuerySet(
firstQuery: number,
queryCount: number,
destinationOffset: number,
)
: undefined;
writeTimestamp(
querySet: GPUQuerySet, queryIndex: number)
: undefined;
}
Properties
Methods
copyBufferToBuffer(
source: GPUBuffer, sourceOffset: number, destination: GPUBuffer, destinationOffset: number, size: number)
: 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