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.

Memberof

PIXI

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

Hierarchy (view full)

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
    • Optional end: number

    Returns ArrayBuffer

Generated using TypeDoc