pixi.js
    Preparing search index...

    Function fastCopy

    • Advanced

      Copies from one ArrayBuffer to another. Uses Float64Array (8-byte), Float32Array (4-byte), or Uint8Array depending on alignment.

      Parameters

      • sourceBuffer: ArrayBufferLike

        the array buffer to copy from

      • destinationBuffer: ArrayBufferLike

        the array buffer to copy to

      • OptionalsourceOffset: number

        the byte offset to start copying from (default 0)

      • OptionalbyteLength: number

        the number of bytes to copy (default: min of source available and destination size)

      Returns void