World.loadResource

int loadResource(Node resource) @nogc nothrow

Load all data associated with the given resource.

Parameters

resourceResource URI to load

Returns

the number of files parsed, or -1 on error.