babylon.quarks - v0.19.0
    Preparing search index...

    Function ensureEnvAtlasFromCube

    • Ensures a 3×2 env atlas exists for a CubeTexture. Returns a cached atlas synchronously when available; otherwise starts (or joins) an async build and invokes onReady when the atlas is usable.

      Parameters

      • cube: BaseTexture
      • scene: Scene
      • onReady: (atlas: Texture) => void

      Returns Texture