Loads the given resource from the given path.
The path to the file to load.
The original path of the file.
Whether to use sub-threads.
The caching mode.
A variant wrapping a referenced resource on success, Variant.init otherwise.
See Implementation
Loads the given resource from the given path.