Struct D3DShaderMacro
Assembly: JeremyAnsel.DirectX.D3DCompiler.dll
Syntax
public struct D3DShaderMacro : IEquatable<D3DShaderMacro>
Constructors
|
Edit this page
View Source
D3DShaderMacro(string, string)
Declaration
public D3DShaderMacro(string name, string definition)
Parameters
Type |
Name |
Description |
string |
name |
The macro name.
|
string |
definition |
The macro definition
|
Properties
|
Edit this page
View Source
Definition
Gets or sets the macro definition.
Declaration
public string Definition { readonly get; set; }
Property Value
|
Edit this page
View Source
Name
Gets or sets the macro name.
Declaration
public string Name { readonly get; set; }
Property Value
Methods
|
Edit this page
View Source
Equals(D3DShaderMacro)
Declaration
public bool Equals(D3DShaderMacro other)
Parameters
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
Operators
|
Edit this page
View Source
operator ==(D3DShaderMacro, D3DShaderMacro)
Declaration
public static bool operator ==(D3DShaderMacro left, D3DShaderMacro right)
Parameters
Returns
|
Edit this page
View Source
operator !=(D3DShaderMacro, D3DShaderMacro)
Declaration
public static bool operator !=(D3DShaderMacro left, D3DShaderMacro right)
Parameters
Returns
Implements