Tesla Graphics Engine Documentation (January 2012)
DXSLoader Class
TeslaTesla.Content.Loaders.ModelDXSLoader
DXS Model loader. DXS files are XML files from the DeleD 3D Editor and can be individual models or an entire scene. Lights and animation data are not currently imported. If the model is to use normal maps, then the DeleD Material must have the diffuse map or diffuse color set to the first layer, the normal map set to the second layer, and optionally a specular map set to the third layer. When a BlendType.Modulate is used, an alpha of .5f will be used. Otherwise the standard effects are used. The first layer denotes either diffuse color (and alpha) or a diffuse texture, and the blendstate that will be used. The second layer may only be a diffuse texture. When BlendType.Modulate is used, an alpha of .5f will be set.
Declaration Syntax
C#
public class DXSLoader : ResourceLoader<Spatial>
Members
All Members Constructors Methods Properties



Icon Member Description
DXSLoader()()()()
Creates a new instance of DXSLoader.

ContentManager
Gets the content manager that currently references the loader.
(Inherited from ResourceLoader.)
Equals(Object)
Determines whether the specified Object is equal to the current 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, LoaderParameters)
Load the DXS model. If the model is a single mesh, Mesh will be returned. Otherwise Node will be returned.
(Overrides ResourceLoader<(Of <(<'Spatial>)>)>.Load(IResource, LoaderParameters).)
Load(IResource, Type, LoaderParameters)
Loads the resource.
(Inherited from ResourceLoader<(Of <(<'T>)>)>.)
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()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
ResourceLoader
  ResourceLoader < (Of < ( <' Spatial > ) > ) >
    DXSLoader

Assembly: Tesla.Content.Loaders (Module: Tesla.Content.Loaders) Version: 0.5.0.0 (0.5.0.0)