Defines the loader provider function.

  • Parameters

    • viewer: any

      Viewer instance that creates the loader.

    Returns ILoader