Class SlangFxConversion
The successful product of the Slang frontend: .fx text for the unchanged pipeline.
public sealed record SlangFxConversion : IEquatable<SlangFxConversion>
- Inheritance
-
SlangFxConversion
- Implements
- Inherited Members
Constructors
SlangFxConversion(string, IReadOnlyList<ShaderError>)
The successful product of the Slang frontend: .fx text for the unchanged pipeline.
public SlangFxConversion(string FxText, IReadOnlyList<ShaderError> Warnings)
Parameters
FxTextstringThe generated
.fxeffect source.WarningsIReadOnlyList<ShaderError>Non-fatal findings. Empty today; the slot exists for parity with the other frontends.
Properties
FxText
The generated .fx effect source.
public string FxText { get; init; }
Property Value
Warnings
Non-fatal findings. Empty today; the slot exists for parity with the other frontends.
public IReadOnlyList<ShaderError> Warnings { get; init; }