Table of Contents

Class TechniqueInfo

Namespace
ShadowDusk.HLSL.Ast
Assembly
ShadowDusk.HLSL.dll

Represents a parsed FX9 technique block.

public sealed record TechniqueInfo : IEquatable<TechniqueInfo>
Inheritance
TechniqueInfo
Implements
Inherited Members

Properties

Annotations

Annotation entries attached to this technique.

public required IReadOnlyList<AnnotationEntry> Annotations { get; init; }

Property Value

IReadOnlyList<AnnotationEntry>

IsEffect11

True if declared with the "technique11" keyword.

public required bool IsEffect11 { get; init; }

Property Value

bool

Name

The declared technique name.

public required string Name { get; init; }

Property Value

string

Passes

All passes declared inside this technique.

public required IReadOnlyList<PassInfo> Passes { get; init; }

Property Value

IReadOnlyList<PassInfo>

Span

Source location of the entire technique block.

public required SourceSpan Span { get; init; }

Property Value

SourceSpan