Tesla Graphics Engine Documentation (January 2012)
EffectExternalWriter Class
TeslaTesla.Content.LoadersEffectExternalWriter
Binary external writer specifically for effect files. The writer tries to minimize duplicate resources by tracking effects by their resource ID. Two instances that share the same shader code are treated as a single external reference.
Declaration Syntax
C#
public sealed class EffectExternalWriter : ExternalWriter<Effect>
Members
All Members Constructors Methods Properties



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

DefaultOutputName
Gets or sets the default output name.
(Inherited from ExternalWriter.)
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Flush()()()()
Cleans up any remaining resources and finishes writing external objects.
(Overrides ExternalWriter.Flush()()()().)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
OutputDirectory
Gets or sets the output directory, relative to the primary resource name.
(Inherited from ExternalWriter.)
Overwrite
Gets or sets if the writer should overwrite existing files. Default is true.
(Inherited from ExternalWriter.)
TargetType
Gets the target type of the external reference.
(Inherited from ExternalWriter.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Write(String, Effect)
Writes the specified name.
(Overrides ExternalWriter<(Of <(<'Effect>)>)>.Write(String, T).)
Write(String, ISavable, Type)
Writes the external object and returns the reference to it.
(Inherited from ExternalWriter<(Of <(<'T>)>)>.)
Inheritance Hierarchy
Object
ExternalWriter
  ExternalWriter < (Of < ( <' Effect > ) > ) >
    EffectExternalWriter

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