Class FxParseResult
- Namespace
- ShadowDusk.HLSL.Ast
- Assembly
- ShadowDusk.HLSL.dll
The output of the FX9 pre-parser: stripped HLSL plus all extracted FX9 metadata.
public sealed record FxParseResult : IEquatable<FxParseResult>
- Inheritance
-
FxParseResult
- Implements
- Inherited Members
Properties
ParameterAnnotations
Annotation blocks attached to global parameter declarations.
public required IReadOnlyList<ParameterAnnotation> ParameterAnnotations { get; init; }
Property Value
Samplers
All sampler declarations with sampler_state blocks extracted from the source.
public required IReadOnlyList<SamplerInfo> Samplers { get; init; }
Property Value
StrippedHlsl
HLSL source with all FX9 blocks stripped, preserving line numbers for error reporting.
public required string StrippedHlsl { get; init; }
Property Value
Techniques
All technique blocks extracted from the source.
public required IReadOnlyList<TechniqueInfo> Techniques { get; init; }