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

    Function cacheEnvAtlas

    • Stores a prebuilt atlas for a cube in the atlas's scene, so systems that use the cube in that scene take it instead of building one. The atlas stays the caller's: quarks never disposes it, and drops it from the cache when it, or the cube, is disposed.

      Parameters

      • cube: BaseTexture

        The cube texture the atlas stands in for.

      • atlas: Texture

        A 3×2 atlas in the layout of createEnvAtlasFromFaceUrls.

      Returns void