Interface IResourceProvider
Denotes a type that sources resources for a ResourceLoader .
public interface IResourceProvider
Methods
GetResourceStream(string)
Gets a stream of a resource's data.
Stream GetResourceStream(string name)
Parameters
namestringThe name of the resource.
Returns
- Stream
The resource stream.
ResourceExists(string)
Checks if a resource is available.
bool ResourceExists(string name)
Parameters
namestringThe name of the resource.
Returns
- bool
Whether the resource was found.