Tesla Graphics Engine Documentation (January 2012)
ExternalReference Class
TeslaTesla.ContentExternalReference
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.
Declaration Syntax
C#
public sealed class ExternalReference : ISavable
Members
All Members Constructors Methods Properties



Icon Member Description
ExternalReference()()()()
Initializes a new instance of the ExternalReference class.

ExternalReference(String)
Initializes a new instance of the ExternalReference class.

ExternalReference(String, LoaderParameters)
Initializes a new instance of the ExternalReference class.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FileName
Gets or sets the reference file name.

GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
LoaderParameters
Gets or sets the loader parameters dictating optional parameters required to load the resource. If no parameters are specified, LoaderParameters.None is the default.

Read(ISavableReader)
Deserializes the object and populates it from the input.

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Write(ISavableWriter)
Serializes the object and writes it to the output.

Inheritance Hierarchy
Object
ExternalReference

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)