NARU API
    Preparing search index...

    Interface CompilerBuildReport

    interface CompilerBuildReport {
        compiler: {
            generator: string;
            name: "@madi/compiler";
            version: "0.0.0";
        };
        counts: {
            compiledPrototypeCount: number;
            edgeSegmentCount: number;
            gltfMeshCount: number;
            gltfNodeCount: number;
            materialCount: number;
            occurrenceCount: number;
            prototypeCount: number;
            reducedChunkCount?: number;
            reducedPrototypeCount?: number;
            reducedTriangleCount?: number;
            renderableOccurrenceCount: number;
            targetChunkCount?: number;
            triangleCount: number;
        };
        diagnostics: {
            codes: readonly string[];
            counts: Readonly<Record<"info" | "warning" | "error", number>>;
        };
        limitations: readonly string[];
        options: {
            binaryUri: string;
            coarseBinaryUri?: string;
            coordinateSystem: "right-handed-y-up-meters";
            geometryEncoding: "gltf-f32";
            hierarchyBinaryUri?: string;
            hierarchyNodes?: "relocated";
            hierarchyUri?: string;
            jsonFormatting?: "compact";
            nodeIdentifiers?: "derived-elided";
            nodeTransforms?: "default-omitted";
            progressiveRepresentation?: | "prototype-aabb-v1"
            | "prototype-aabb-reduced-v1";
            propertiesBinaryUri?: string;
            propertiesUri?: string;
            reducedLod?: { maxDeviationMeters: number; method: string };
            resourceNames?: "omitted";
            targetChunkByteBudget?: number;
            targetChunking?: "prototype-range-v1" | "coalesced-prototype-range-v1";
            targetPayloadOrder?: "spatial-leaf-anchor-v1";
        };
        output: {
            packageDigest: string;
            resources: readonly CompilerResourceRecord[];
        };
        profile: "madi.experimental.gltf.1";
        prototypeReuse: readonly { occurrenceCount: number; prototypeId: string }[];
        reducedLod?: readonly ReducedLodPrototypeRecord[];
        schemaVersion: "madi.phase1.compiler-report.1";
        source: {
            adapter: string;
            optionsDigest: string;
            revisionId: string;
            sceneId: string;
            sourceDigest: string;
        };
        status: "experimental-not-interchange";
    }
    Index
    compiler: { generator: string; name: "@madi/compiler"; version: "0.0.0" }
    counts: {
        compiledPrototypeCount: number;
        edgeSegmentCount: number;
        gltfMeshCount: number;
        gltfNodeCount: number;
        materialCount: number;
        occurrenceCount: number;
        prototypeCount: number;
        reducedChunkCount?: number;
        reducedPrototypeCount?: number;
        reducedTriangleCount?: number;
        renderableOccurrenceCount: number;
        targetChunkCount?: number;
        triangleCount: number;
    }
    diagnostics: {
        codes: readonly string[];
        counts: Readonly<Record<"info" | "warning" | "error", number>>;
    }
    limitations: readonly string[]
    options: {
        binaryUri: string;
        coarseBinaryUri?: string;
        coordinateSystem: "right-handed-y-up-meters";
        geometryEncoding: "gltf-f32";
        hierarchyBinaryUri?: string;
        hierarchyNodes?: "relocated";
        hierarchyUri?: string;
        jsonFormatting?: "compact";
        nodeIdentifiers?: "derived-elided";
        nodeTransforms?: "default-omitted";
        progressiveRepresentation?:
            | "prototype-aabb-v1"
            | "prototype-aabb-reduced-v1";
        propertiesBinaryUri?: string;
        propertiesUri?: string;
        reducedLod?: { maxDeviationMeters: number; method: string };
        resourceNames?: "omitted";
        targetChunkByteBudget?: number;
        targetChunking?: "prototype-range-v1" | "coalesced-prototype-range-v1";
        targetPayloadOrder?: "spatial-leaf-anchor-v1";
    }

    Type Declaration

    • ReadonlybinaryUri: string
    • Optional ReadonlycoarseBinaryUri?: string
    • ReadonlycoordinateSystem: "right-handed-y-up-meters"
    • ReadonlygeometryEncoding: "gltf-f32"
    • Optional ReadonlyhierarchyBinaryUri?: string
    • Optional ReadonlyhierarchyNodes?: "relocated"

      Optional size policy that moves mesh-less nodes into a sidecar.

    • Optional ReadonlyhierarchyUri?: string
    • Optional ReadonlyjsonFormatting?: "compact"

      JSON whitespace policy. Omitted for the historical pretty-printed default.

    • Optional ReadonlynodeIdentifiers?: "derived-elided"

      Optional size policy for node identities the loader can reconstruct.

    • Optional ReadonlynodeTransforms?: "default-omitted"

      Optional size policy for node transforms glTF already defaults.

    • Optional ReadonlyprogressiveRepresentation?: "prototype-aabb-v1" | "prototype-aabb-reduced-v1"
    • Optional ReadonlypropertiesBinaryUri?: string
    • Optional ReadonlypropertiesUri?: string
    • Optional ReadonlyreducedLod?: { maxDeviationMeters: number; method: string }

      Present when a declared-error reduced level was requested (ADR-0025). Like every other entry here this echoes the request, not a measurement: the deviation each prototype was measured at is reducedLod[] below, and the bound a viewer may rely on is the one each chunk declares in the document.

    • Optional ReadonlyresourceNames?: "omitted"

      Optional size policy for non-semantic glTF resource labels.

    • Optional ReadonlytargetChunkByteBudget?: number

      Maximum bytes per progressive target request when coalescing is enabled.

    • Optional ReadonlytargetChunking?: "prototype-range-v1" | "coalesced-prototype-range-v1"
    • Optional ReadonlytargetPayloadOrder?: "spatial-leaf-anchor-v1"

      Optional physical target payload order derived from spatial BVH leaves.

    output: { packageDigest: string; resources: readonly CompilerResourceRecord[] }
    profile: "madi.experimental.gltf.1"
    prototypeReuse: readonly { occurrenceCount: number; prototypeId: string }[]
    reducedLod?: readonly ReducedLodPrototypeRecord[]

    Per-prototype outcome of the reduced level (ADR-0025). Present only when reducedLod was requested; every payload prototype has one entry, so a retained prototype is visible with its reason.

    schemaVersion: "madi.phase1.compiler-report.1"
    source: {
        adapter: string;
        optionsDigest: string;
        revisionId: string;
        sceneId: string;
        sourceDigest: string;
    }
    status: "experimental-not-interchange"