ShaderMixinGeneratorSource Class
Namespace: Stride.ShadersAssembly: Stride.Shaders.dll
A shader source that is linked to a sdfx effect.
[DataContract("ShaderMixinGeneratorSource")]
public sealed class ShaderMixinGeneratorSource : ShaderSource, IEquatable<ShaderMixinGeneratorSource>
Name | Description | |
---|---|---|
Constructors | ||
ShaderMixinGeneratorSource() | Initializes a new instance of the ShaderMixinGeneratorSource class. |
|
ShaderMixinGeneratorSource(String) | Initializes a new instance of the ShaderMixinGeneratorSource class. |
|
Properties | ||
Name | Gets or sets the name of the sdfx effect. |
|
Methods | ||
Clone() | ||
Equals(ShaderMixinGeneratorSource) | Indicates whether the current object is equal to another object of the same type. |
|
Equals(Object) | ||
GetHashCode() | ||
ToString() | ||
Operators | ||
Equality(ShaderMixinGeneratorSource, ShaderMixinGeneratorSource) | ||
Inequality(ShaderMixinGeneratorSource, ShaderMixinGeneratorSource) |
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
Type | Name | Description |
---|---|---|
System.String | name | The name of the sdfx effect. |
Properties
Name
Gets or sets the name of the sdfx effect.
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The name of the sdfx effect. |
Methods
Clone()
public override object Clone()
Returns
Type | Description |
---|---|
System.Object |
Overrides
Equals(ShaderMixinGeneratorSource)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ShaderMixinGeneratorSource other)
Parameters
Type | Name | Description |
---|---|---|
ShaderMixinGeneratorSource | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current object is equal to the |
Equals(Object)
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
GetHashCode()
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
ToString()
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
Operators
Equality(ShaderMixinGeneratorSource, ShaderMixinGeneratorSource)
public static bool operator ==(ShaderMixinGeneratorSource left, ShaderMixinGeneratorSource right)
Parameters
Type | Name | Description |
---|---|---|
ShaderMixinGeneratorSource | left | |
ShaderMixinGeneratorSource | right |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(ShaderMixinGeneratorSource, ShaderMixinGeneratorSource)
public static bool operator !=(ShaderMixinGeneratorSource left, ShaderMixinGeneratorSource right)
Parameters
Type | Name | Description |
---|---|---|
ShaderMixinGeneratorSource | left | |
ShaderMixinGeneratorSource | right |
Returns
Type | Description |
---|---|
System.Boolean |