Tesla Graphics Engine Documentation (January 2012)
Load<(Of <(<'T>)>)> Method (assetName, parameters)
TeslaTesla.ContentContentManagerLoad<(Of <<'(T>)>>)(String, LoaderParameters)
Loads the asset. If UseDefaultContent is set to true, and if the asset cannot be found, an attempt to load it from the default content manager will be made.
Declaration Syntax
public T Load<T>(
	string assetName,
	LoaderParameters parameters
Generic Template Parameters
Type of resource
assetName (String)
Asset name
parameters (LoaderParameters)
Loader parameters
Return Value
Loaded asset, if it exists, otherwise null
Exception Condition
ObjectDisposedException Thrown if the manager has been disposed
ArgumentNullException Thrown if the asset name is null
InvalidCastException Thrown if the asset to load does not match return type
ResourceNotFoundException Thrown if resource could not be located
InvalidOperationException Thrown if no suitable loader registered to the manager
TeslaException Thrown if loader parameters are not valid.

Assembly: Tesla (Module: Tesla) Version: (