Table of Contents

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

name string

MacroDefinition(string, string)

Constructs a new MacroDefinition with a value.

public MacroDefinition(string name, string value)

Parameters

name string
value string

Properties

Name

The name of the macro.

public string Name { get; set; }

Property Value

string

Value

The macro's replacement value. May be null.

public string Value { get; set; }

Property Value

string