![]() |
Paradox Game Engine
v1.0.0 beta06
|
Preprocessor macro. More...
Public Member Functions | |
ShaderMacro (string name, object definition) | |
Initializes a new instance of the ShaderMacro struct. More... | |
bool | Equals (ShaderMacro other) |
Indicates whether the current object is equal to another object of the same type. More... | |
override bool | Equals (object obj) |
Determines whether the specified System.Object is equal to this instance. More... | |
override int | GetHashCode () |
Returns a hash code for this instance. More... | |
Public Attributes | |
string | Name |
Name of the macro to set. More... | |
string | Definition |
Value of the macro to set. More... | |
Preprocessor macro.
Definition at line 15 of file ShaderMacro.cs.
SiliconStudio.Paradox.Shaders.ShaderMacro.ShaderMacro | ( | string | name, |
object | definition | ||
) |
Initializes a new instance of the ShaderMacro struct.
name | The name. |
definition | The definition. |
Definition at line 22 of file ShaderMacro.cs.
bool SiliconStudio.Paradox.Shaders.ShaderMacro.Equals | ( | ShaderMacro | other | ) |
Indicates whether the current object is equal to another object of the same type.
other | An object to compare with this object. |
Definition at line 47 of file ShaderMacro.cs.
References SiliconStudio.Paradox.Shaders.ShaderMacro.Definition, and SiliconStudio.Paradox.Shaders.ShaderMacro.Name.
override bool SiliconStudio.Paradox.Shaders.ShaderMacro.Equals | ( | object | obj | ) |
Determines whether the specified System.Object is equal to this instance.
obj | The System.Object to compare with this instance. |
true
if the specified System.Object is equal to this instance; otherwise, false
. Definition at line 59 of file ShaderMacro.cs.
override int SiliconStudio.Paradox.Shaders.ShaderMacro.GetHashCode | ( | ) |
Returns a hash code for this instance.
Definition at line 72 of file ShaderMacro.cs.
string SiliconStudio.Paradox.Shaders.ShaderMacro.Definition |
Value of the macro to set.
Definition at line 38 of file ShaderMacro.cs.
Referenced by SiliconStudio.Paradox.Shaders.ShaderMacro.Equals().
string SiliconStudio.Paradox.Shaders.ShaderMacro.Name |
Name of the macro to set.
Definition at line 32 of file ShaderMacro.cs.
Referenced by SiliconStudio.Paradox.Shaders.ShaderMacro.Equals().