Interface IArrayBuffer

Marks places in PixiJS where you can pass Float32Array, UInt32Array, any typed arrays, and ArrayBuffer.

Same as ArrayBuffer in typescript lib, defined here just for documentation.

PIXI

interface IArrayBuffer {
    "[toStringTag]": string;
    byteLength: number;
    slice(begin: number, end?: number): ArrayBuffer;
}

Hierarchy (View Summary)

Properties

Methods

Properties

"[toStringTag]": string
byteLength: number

Read-only. The length of the ArrayBuffer (in bytes).

Methods

  • Returns a section of an ArrayBuffer.

    Parameters

    • begin: number
    • Optionalend: number

    Returns ArrayBuffer