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
IsEffect11
True if declared with the "technique11" keyword.
public required bool IsEffect11 { get; init; }
Property Value
Name
The declared technique name.
public required string Name { get; init; }
Property Value
Passes
All passes declared inside this technique.
public required IReadOnlyList<PassInfo> Passes { get; init; }
Property Value
Span
Source location of the entire technique block.
public required SourceSpan Span { get; init; }