wgblas
    Preparing search index...
    • Appends a copyBufferToBuffer command to commandEncoder that copies sourceBuffer into a new MAP_READ buffer. Returns that readback buffer; call readBuffer.mapAsync(GPUMapMode.READ) after submitting the encoder.

      Parameters

      • commandEncoder: GPUCommandEncoder
      • sourceBuffer: GPUBuffer

      Returns GPUBuffer