pixi.js
Version:
<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">
12 lines (11 loc) • 653 B
TypeScript
/**
* Copies from one ArrayBuffer to another.
* Uses Float64Array (8-byte), Float32Array (4-byte), or Uint8Array depending on alignment.
* @param sourceBuffer - the array buffer to copy from
* @param destinationBuffer - the array buffer to copy to
* @param sourceOffset - the byte offset to start copying from (default 0)
* @param byteLength - the number of bytes to copy (default: min of source available and destination size)
* @category rendering
* @advanced
*/
export declare function fastCopy(sourceBuffer: ArrayBuffer | ArrayBufferLike, destinationBuffer: ArrayBuffer | ArrayBufferLike, sourceOffset?: number, byteLength?: number): void;