Taos API Reference
    Preparing search index...

    Interface PackEntry

    One asset stored in a pack. offset/storedLen locate the (possibly compressed) blob; rawLen is its decompressed size.

    interface PackEntry {
        key: string;
        path?: string;
        type?: string;
        offset: number;
        storedLen: number;
        rawLen: number;
        compression: Compression;
        hash?: string;
        labels?: string[];
    }
    Index

    Properties

    key: string

    Stable lookup key — a guid (editor) or an authored address/path.

    path?: string

    Original project-relative source path, kept for debugging / tooling.

    type?: string

    Loader hint: 'gltf' | 'texture' | 'hdr' | 'exr' | 'materialx' | 'json' | 'bytes'.

    offset: number

    Byte offset from the start of the file to the stored blob.

    storedLen: number

    Stored (on-disk) byte length of the blob.

    rawLen: number

    Decompressed byte length.

    compression: Compression

    How the blob is stored.

    hash?: string

    Optional hex content hash of the raw bytes, for integrity checks.

    labels?: string[]

    Labels for grouped queries (e.g. load every "enemy" asset).