Interface gpuGPUCommandEncoder

interface gpuGPUCommandEncoder {
    get label(): string;
    beginComputePass(descriptor?): gpuGPUComputePassEncoder;
    beginRenderPass(descriptor): gpuGPURenderPassEncoder;
    clearBuffer(buffer, offset?, size?): void;
    copyBufferToBuffer(source, sourceOffset, destination, destinationOffset, size): void;
    copyBufferToTexture(source, destination, copySize): void;
    copyTextureToBuffer(source, destination, copySize): void;
    copyTextureToTexture(source, destination, copySize): void;
    finish(param0?): gpuGPUCommandBuffer;
}

Accessors

  • get label(): string
  • Returns string

Methods

  • Parameters

    • buffer: gpuGPUBuffer
    • Optional offset: number | bigint
    • Optional size: number | bigint

    Returns void

  • Parameters

    • source: gpuGPUBuffer
    • sourceOffset: number | bigint
    • destination: gpuGPUBuffer
    • destinationOffset: number | bigint
    • size: number | bigint

    Returns void