Class GlobalInitializers
- Namespace
- ShadowDusk.HLSL
- Assembly
- ShadowDusk.HLSL.dll
What Read(string, string) found.
public sealed record GlobalInitializers : IEquatable<GlobalInitializers>
- Inheritance
-
GlobalInitializers
- Implements
- Inherited Members
Constructors
GlobalInitializers(IReadOnlyDictionary<string, GlobalInitializerDefault>, IReadOnlyList<GlobalInitializerFailure>, string?)
What Read(string, string) found.
public GlobalInitializers(IReadOnlyDictionary<string, GlobalInitializerDefault> Defaults, IReadOnlyList<GlobalInitializerFailure> Failures, string? CompilerPredefinedMacro = null)
Parameters
DefaultsIReadOnlyDictionary<string, GlobalInitializerDefault>Name -> default, for every initializer that was evaluated (last declaration wins).
FailuresIReadOnlyList<GlobalInitializerFailure>Every initializer on a possible uniform that could not be evaluated.
CompilerPredefinedMacrostringThe first conditional that tested a macro only the compiler defines (
__HLSL_VERSION...), or null. The managed preprocessor evaluated it as undefined, so the branch it picked may not be the one DXC compiled and every default read from it is unverified.
Properties
CompilerPredefinedMacro
The first conditional that tested a macro only the compiler defines (__HLSL_VERSION ...), or
null. The managed preprocessor evaluated it as undefined, so the branch it picked may not be the one
DXC compiled and every default read from it is unverified.
public string? CompilerPredefinedMacro { get; init; }
Property Value
Defaults
Name -> default, for every initializer that was evaluated (last declaration wins).
public IReadOnlyDictionary<string, GlobalInitializerDefault> Defaults { get; init; }
Property Value
Failures
Every initializer on a possible uniform that could not be evaluated.
public IReadOnlyList<GlobalInitializerFailure> Failures { get; init; }