copyBufferToBuffer

fun copyBufferToBuffer(source: GPUBuffer, destination: GPUBuffer, size: GPUSize64 = definedExternally)(source)

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

MDN Reference


fun copyBufferToBuffer(source: GPUBuffer, sourceOffset: GPUSize64, destination: GPUBuffer, destinationOffset: GPUSize64, size: GPUSize64 = definedExternally)(source)