Table of Contents

Class SlangFxConversion

Namespace
ShadowDusk.Compiler.Slang
Assembly
ShadowDusk.Compiler.dll

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

FxText string

The generated .fx effect source.

Warnings IReadOnlyList<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

string

Warnings

Non-fatal findings. Empty today; the slot exists for parity with the other frontends.

public IReadOnlyList<ShaderError> Warnings { get; init; }

Property Value

IReadOnlyList<ShaderError>