Small World Engine API Reference - v0.78.00
    Preparing search index...

    Interface GltfReadContext

    Shared, per-parse state for the read side. state lets a plugin carry data from its prepareRead pre-pass to its later readNode/applyNode calls without keeping it on the plugin object itself -- plugin objects are registered once and reused across every load, so they must stay stateless to remain safe for overlapping/concurrent parses.

    interface GltfReadContext {
        json: GltfJson;
        state: Map<string, unknown>;
    }
    Index
    json: GltfJson
    state: Map<string, unknown>