ResourceFormatLoader.load

Loads a resource when the engine finds this loader to be compatible. If the loaded resource is the result of an import, original_path will target the source file. Returns a Resource object on success, or an error constant in case of failure.

struct ResourceFormatLoader
@nogc nothrow
Variant
load
(
in String path
,
in String original_path
)

Meta