Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Module rendering/material-manager/lifecycle

    Material lifecycle: dispose-event subscription, registry teardown, and the soft-dispose flag that lets callers fire 'dispose' purely to evict Three's cached RenderObject without actually tearing down the material.

    MaterialManager keeps ownership of the registries; this module operates on them via a LifecycleCtx so the helpers don't pull in a back-reference to the orchestrator.

    LifecycleCtx
    subscribeToDispose
    removeFromRegistries
    SOFT_DISPOSE_FLAG → SOFT_DISPOSE_FLAG