Tesla Graphics Engine Documentation (January 2012)
Load Method (resource, type, parameters)
TeslaTesla.ContentResourceLoader<(Of <(<'T>)>)>Load(IResource, Type, LoaderParameters)
Loads the resource.
Declaration Syntax
C#
public override Object Load(
	IResource resource,
	Type type,
	LoaderParameters parameters
)
Parameters
resource (IResource)
Resource to load
type (Type)
Type of resource
parameters (LoaderParameters)
Loader parameters
Return Value
Loaded object
Exceptions
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: 0.5.0.0 (0.5.0.0)