copyBufferToBuffer method

void copyBufferToBuffer(
  1. GPUBuffer source,
  2. GPUSize64 sourceOffset,
  3. GPUBuffer destination,
  4. GPUSize64 destinationOffset,
  5. GPUSize64 size,
)

The copyBufferToBuffer() method of the GPUCommandEncoder interface encodes a command that copies data from one GPUBuffer to another.

Implementation

external void copyBufferToBuffer(
  GPUBuffer source,
  GPUSize64 sourceOffset,
  GPUBuffer destination,
  GPUSize64 destinationOffset,
  GPUSize64 size,
);