Taos API Reference
    Preparing search index...

    Interface CacheValue

    Anything the cache can hold: it must report its cost and release GPU memory.

    interface CacheValue {
        triangles: number;
        bytes: number;
        destroy(): void;
    }

    Implemented by

    Index

    Properties

    Methods

    Properties

    triangles: number

    Triangle count, for the triangle budget + stats.

    bytes: number

    Approximate GPU byte cost, for the memory budget + stats.

    Methods