A buffer points to binary geometry, animation, or skins

interface IBuffer {
    extensions?: Record<string, unknown>;
    extras?: Record<string, unknown>;
    name?: string;
    uri?: string;
    byteLength: number;
}

Hierarchy (view full)

Properties

extensions?: Record<string, unknown>

Dictionary object with extension-specific objects

extras?: Record<string, unknown>

Application-Specific data

name?: string

The user-defined name of this object

uri?: string

The uri of the buffer. Relative paths are relative to the .gltf file. Instead of referencing an external file, the uri can also be a data-uri

byteLength: number

The length of the buffer in bytes