Resource loader for strongly-typed resources. This should be subclassed to create loaders for new asset types.
Declaration Syntax
C# |
public abstract class ResourceLoader<T> : ResourceLoader
Generic Template Parameters
- T
- Resource target type
Members
All Members | Constructors | Methods | Properties | ||
|
|
|
Icon | Member | Description |
---|---|---|
ResourceLoader<(Of <(<'T>)>)>(String) |
Creates a new resource loader.
|
|
ContentManager |
Gets the content manager that currently references the loader.
(Inherited from ResourceLoader.) |
|
Equals(Object) |
(Inherited from Object.) |
|
Extension |
Gets the file extension of the resource to look for.
(Inherited from ResourceLoader.) |
|
Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode()()()() |
Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetType()()()() |
Gets the Type of the current instance. (Inherited from Object.) |
|
Load(IResource, Type, LoaderParameters) |
Loads the resource.
(Overrides ResourceLoader.Load(IResource, Type, LoaderParameters).) |
|
Load(IResource, LoaderParameters) |
Loads the resource.
|
|
MemberwiseClone()()()() |
Creates a shallow copy of the current Object. (Inherited from Object.) |
|
OnInitialize()()()() |
Called when the loader is initialized by the content manager.
(Inherited from ResourceLoader.) |
|
TargetType |
Gets the target type of the object to be returned when the resource is loaded and processed.
(Inherited from ResourceLoader.) |
|
ToString()()()() |
(Inherited from Object.) |
Inheritance Hierarchy
Object | |||
ResourceLoader | |||
ResourceLoader<(Of <(<'T>)>)> | |||
BinaryLoader | |||
BMFontLoader | |||
BMPLoader | |||
DDSLoader | |||
JPGLoader | |||
PNGLoader | |||
MaterialCollectionLoader | |||
MaterialLoader | |||
DXSLoader | |||
D3D10EffectLoader | |||
XNAEffectLoader |
Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)