Class ShaderMixinGeneratorSource
A shader source that is linked to a sdfx effect.
[DataContract("ShaderMixinGeneratorSource")]
public sealed class ShaderMixinGeneratorSource : ShaderSource, IEquatable<ShaderMixinGeneratorSource>
  - Inheritance
 - 
      objectShaderMixinGeneratorSource
 
- Implements
 
- Inherited Members
 
Constructors
ShaderMixinGeneratorSource()
Initializes a new instance of the ShaderMixinGeneratorSource class.
public ShaderMixinGeneratorSource()
  ShaderMixinGeneratorSource(string)
Initializes a new instance of the ShaderMixinGeneratorSource class.
public ShaderMixinGeneratorSource(string name)
  Parameters
namestringThe name of the sdfx effect.
Properties
Name
Gets or sets the name of the sdfx effect.
public string Name { get; set; }
  Property Value
- string
 The name of the sdfx effect.
Methods
Clone()
Deep clones this instance.
public override object Clone()
  Returns
- object
 A new instance.
Equals(ShaderMixinGeneratorSource)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ShaderMixinGeneratorSource other)
  Parameters
otherShaderMixinGeneratorSourceAn object to compare with this object.
Returns
- bool
 true if the current object is equal to the
otherparameter; otherwise, false.
Equals(object)
Determines whether the specified object is equal to this instance.
public override bool Equals(object obj)
  Parameters
objobject
Returns
- bool
 trueif the specified object is equal to this instance; otherwise,false.
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
  Returns
- int
 A hash code for the current object.
ToString()
Returns a string that represents the current object.
public override string ToString()
  Returns
- string
 A string that represents the current object.
Operators
operator ==(ShaderMixinGeneratorSource, ShaderMixinGeneratorSource)
public static bool operator ==(ShaderMixinGeneratorSource left, ShaderMixinGeneratorSource right)
  Parameters
Returns
operator !=(ShaderMixinGeneratorSource, ShaderMixinGeneratorSource)
public static bool operator !=(ShaderMixinGeneratorSource left, ShaderMixinGeneratorSource right)