Method GetResourceProvider
GetResourceProvider(Type, IResourceLocation)
Gets the appropriate IResourceProvider for the given location
and type
.
Declaration
public IResourceProvider GetResourceProvider(Type t, IResourceLocation location)
Parameters
Type | Name | Description |
---|---|---|
Type | t | The desired object type to be loaded from the provider. |
IResourceLocation | location | The resource location. |
Returns
Type | Description |
---|---|
IResourceProvider | The resource provider. Or null if an appropriate provider cannot be found |