G-code Preview — API Reference
    Preparing search index...
    RendererEvent:
        | { chunksBuilt: number; chunksTotal: number; type: "buildProgress" }
        | {
            mode: ProgressPresentationMode;
            reason?: string;
            type: "progress-presentation-changed";
        }
        | {
            decimationApplied: number;
            quality: QualityMode;
            segments: number;
            travelHidden: boolean;
            type: "buildComplete";
        }
        | {
            from: QualityMode;
            reason: string;
            to: QualityMode;
            type: "qualityFallback";
        }
        | {
            cumulativeSegments: number;
            decimationApplied: number;
            type: "previewAppend";
        }
        | { type: "contextlost" }
        | { type: "restored" }
        | { code: string; message: string; type: "error" }