babylon.quarks - v1.0.0
    Preparing search index...

    Function disposeEnvAtlas

    • Drops the atlases made for cube from the cache and disposes the ones quarks built. Runs by itself when the cube is disposed; call it when an environment is swapped out but the cube is kept. Systems that use the cube build a new atlas the next time their material is resolved.

      Parameters

      • cube: BaseTexture

        The cube texture whose atlases to drop.

      • Optionalscene: Scene

        Only the atlas for this scene. Defaults to every scene.

      Returns void