Tesla Graphics Engine Documentation (January 2012)
Tesla.Content Namespace
TeslaTesla.Content
 
Declaration Syntax
C#
namespace Tesla.Content
Types
All Types Classes Interfaces Enumerations
Icon Type Description
ContentManager
ContentManager contains functionality to locate assets, load them, and manage their lifespans. The manager also serves as a means to cache objects to ensure they only are loaded once.

DefaultResource
Special content loader that returns the system's "default" resource for a particular content type.

DefaultResource<(Of <(<'T>)>)>
Special, strongly-typed content loader that returns the system's "default" resource for a particular content type.

EmbeddedResource
Represents a resource embedded in an assembly.

EmbeddedResourceLocator
Resource locator for finding resources embedded in an assembly.

ExternalReference
External reference represents an ISavable object that is external to another, e.g. a shared resource such as a Texture that is used for multiple materials and is written to its own file that is referenced.

ExternalWriter
External writer used by a savable writer to write an ISavable to an external output (e.g. a secondary file).

ExternalWriter<(Of <(<'T>)>)>
External strongly-typed writer used by a savable writer to write an ISavable to an external output (e.g. a secondary file).

FileResource
A resource that is represented by a single file on the disk.

FileResourceLocator
Resource locator that locates file resources from the disk.

ImageLoaderParameters
Parameter class for image loading.

IResource
Interface that represents some resource that can be accessed generically. Such resources can be audio files, shader files, or 3D models.

IResourceLocator
Interface that represents how a resource is located.

ISavable
Interface for engine objects that can be serialized and saved as well as deserialized and re-created.

ISavableReader
Interface for a reader that deserializes an object that implements the ISavable interface from an input.

ISavableWriter
Interface for a writer that serializes an object that implements the ISavable interface to an output.

LoaderParameters
LoaderParameters is the base class for all classes that define the parameters for an IResourceLoader.

MaterialLoaderParameters
Parameters for loading a single material by name, from a multi-material TEM script.

ModelLoaderParameters
Parameter class for model loading.

NormalGeneration
Options to tell the model loader how to generate normals.

ResourceExporter
Class that is responsible for serializing a runtime object and saving it.

ResourceExporter<(Of <(<'T>)>)>
Strongly typed resource exporter. Subclass this to add new exporters for different object types.

ResourceLoader
Abstract loader for loading resources and creating runtime representations of them.

ResourceLoader<(Of <(<'T>)>)>
Resource loader for strongly-typed resources. This should be subclassed to create loaders for new asset types.

ResourceNotFoundException
Exception for when a resource could not be located.

ResourceUtils
Utilities for resource management and location.