Tesla Graphics Engine Documentation (January 2012)
DXSLoader Class
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
public class DXSLoader : ResourceLoader<Spatial>
All Members Constructors Methods Properties

Icon Member Description
Creates a new instance of DXSLoader.

Gets the content manager that currently references the loader.
(Inherited from ResourceLoader.)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Gets the file extension of the resource to look for.
(Inherited from ResourceLoader.)
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Serves as a hash function for a particular type.
(Inherited from Object.)
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>)>)>.)
Creates a shallow copy of the current Object.
(Inherited from Object.)
Called when the loader is initialized by the content manager.
(Inherited from ResourceLoader.)
Gets the target type of the object to be returned when the resource is loaded and processed.
(Inherited from ResourceLoader.)
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
  ResourceLoader < (Of < ( <' Spatial > ) > ) >

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