G-code Preview — API Reference
    Preparing search index...
    interface DefaultGLOptions {
        alpha?: boolean;
        antialias?: boolean;
        preserveDrawingBuffer?: boolean;
    }
    Index

    Properties

    alpha?: boolean

    Alpha channel in the drawing buffer → transparent background when the scene background is unset. ModelRenderer's card-thumbnail path sets this true; the toolpath renderer leaves it false.

    antialias?: boolean

    MSAA. Default true.

    preserveDrawingBuffer?: boolean

    Keep the drawing buffer readable after render (headless still-capture). Default false.