Table of Contents

Class LegacySamplerResidueCheck

Namespace
ShadowDusk.HLSL.Ast
Assembly
ShadowDusk.HLSL.dll
public sealed record LegacySamplerResidueCheck : IEquatable<LegacySamplerResidueCheck>
Inheritance
LegacySamplerResidueCheck
Implements
Inherited Members

Constructors

LegacySamplerResidueCheck(bool, CompilerPredefinedMacroTest?)

public LegacySamplerResidueCheck(bool Found, CompilerPredefinedMacroTest? CompilerPredefinedMacro)

Parameters

Found bool

True when legacy D3D9 sampler syntax is left in the preprocessed text.

CompilerPredefinedMacro CompilerPredefinedMacroTest

The first conditional that tested a compiler-predefined macro, or null. When set, the preprocessed text (and so Found) was built on the assumption that the macro is undefined, which the compiler does not share.

Properties

CompilerPredefinedMacro

The first conditional that tested a compiler-predefined macro, or null. When set, the preprocessed text (and so Found) was built on the assumption that the macro is undefined, which the compiler does not share.

public CompilerPredefinedMacroTest? CompilerPredefinedMacro { get; init; }

Property Value

CompilerPredefinedMacroTest

Found

True when legacy D3D9 sampler syntax is left in the preprocessed text.

public bool Found { get; init; }

Property Value

bool