Class ParameterAnnotation
- Namespace
- ShadowDusk.HLSL.Ast
- Assembly
- ShadowDusk.HLSL.dll
Annotation block attached to a global parameter declaration.
public sealed record ParameterAnnotation : IEquatable<ParameterAnnotation>
- Inheritance
-
ParameterAnnotation
- Implements
- Inherited Members
Properties
Entries
All entries declared inside the annotation angle-bracket block.
public required IReadOnlyList<AnnotationEntry> Entries { get; init; }
Property Value
ParameterName
The name of the global parameter this annotation is attached to.
public required string ParameterName { get; init; }
Property Value
Span
Source location of the entire annotation block.
public required SourceSpan Span { get; init; }