Table of Contents

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

IReadOnlyList<ParameterAnnotation>

Samplers

All sampler declarations with sampler_state blocks extracted from the source.

public required IReadOnlyList<SamplerInfo> Samplers { get; init; }

Property Value

IReadOnlyList<SamplerInfo>

StrippedHlsl

HLSL source with all FX9 blocks stripped, preserving line numbers for error reporting.

public required string StrippedHlsl { get; init; }

Property Value

string

Techniques

All technique blocks extracted from the source.

public required IReadOnlyList<TechniqueInfo> Techniques { get; init; }

Property Value

IReadOnlyList<TechniqueInfo>