@equinor/videx-3d
    Preparing search index...

    Function getRenderingState

    • Get (or lazily create) the RenderingState store for a given scene.

      Both the rendering passes (which hold a reference to the scene) and the hooks used by components (which resolve the scene via R3F) call this with the same scene, so they share a single store instance per canvas. No provider is required — the store is created on first access, so components used without any pipeline still work and simply observe the 'standard' default.

      Parameters

      • scene: Object3D

      Returns StoreApi<RenderingState>