• Loads a PMREM texture from the given URL. This also supports the ultra-fast preprocessed environment maps (PMREM) format.

    Parameters

    • url: string

      The URL of the PMREM texture to load.

    • renderer: WebGLRenderer

      The WebGLRenderer to use for loading the texture.

    Returns Promise<null | Texture>

    A promise that resolves to the loaded texture or null if loading failed.