Tesla Graphics Engine Documentation (January 2012)
Load Method (resource, type, parameters)
TeslaTesla.ContentResourceLoader<(Of <(<'T>)>)>Load(IResource, Type, LoaderParameters)
Loads the resource.
Declaration Syntax
public override Object Load(
	IResource resource,
	Type type,
	LoaderParameters parameters
resource (IResource)
Resource to load
type (Type)
Type of resource
parameters (LoaderParameters)
Loader parameters
Return Value
Loaded object
Exception Condition
ArgumentNullException Thrown if resource is null.
ArgumentException Thrown if the extension of the resource to be opened does not match the loader's extension."
InvalidCastException Thrown if the object to load's type mismatches the target's type.

Assembly: Tesla (Module: Tesla) Version: (