Class MacroDefinition
- Namespace
- NeoVeldrid.SPIRV
- Assembly
- NeoVeldrid.SPIRV.dll
Represents a single preprocessor macro used when compiling shader source code.
public class MacroDefinition
- Inheritance
-
MacroDefinition
- Inherited Members
Constructors
MacroDefinition(string)
Constructs a new MacroDefinition with no value.
public MacroDefinition(string name)
Parameters
namestring
MacroDefinition(string, string)
Constructs a new MacroDefinition with a value.
public MacroDefinition(string name, string value)
Parameters
Properties
Name
The name of the macro.
public string Name { get; set; }
Property Value
Value
The macro's replacement value. May be null.
public string Value { get; set; }