Class PassInfo
- Namespace
- ShadowDusk.HLSL.Ast
- Assembly
- ShadowDusk.HLSL.dll
Represents a single pass block within an FX9 technique.
public sealed record PassInfo : IEquatable<PassInfo>
- Inheritance
-
PassInfo
- Implements
- Inherited Members
Properties
Annotations
Annotation entries attached to this pass block.
public required IReadOnlyList<AnnotationEntry> Annotations { get; init; }
Property Value
Name
The declared pass name.
public required string Name { get; init; }
Property Value
PixelEntryPoint
Pixel shader entry-point function name, e.g. "PSMain".
public required string? PixelEntryPoint { get; init; }
Property Value
PixelProfile
Pixel shader profile string, e.g. "ps_3_0" or "ps_5_0".
public required string? PixelProfile { get; init; }
Property Value
PixelProfileSpan
Source location of the pixel compile <target> profile token (SD0013
diagnostic anchor). Null when the pass declares no pixel shader.
public SourceSpan? PixelProfileSpan { get; init; }
Property Value
PixelProfileToken
The pixel compile <target> token exactly as written (see
VertexProfileToken). Null when the pass declares no pixel shader.
public string? PixelProfileToken { get; init; }
Property Value
RenderStates
All non-shader render-state assignments in this pass.
public required IReadOnlyList<RenderStateEntry> RenderStates { get; init; }
Property Value
Span
Source location of the entire pass block.
public required SourceSpan Span { get; init; }
Property Value
VertexEntryPoint
Vertex shader entry-point function name, e.g. "VSMain".
public required string? VertexEntryPoint { get; init; }
Property Value
VertexProfile
Vertex shader profile string, e.g. "vs_3_0" or "vs_5_0".
public required string? VertexProfile { get; init; }
Property Value
VertexProfileSpan
Source location of the vertex compile <target> profile token, used to
point the recognized-profile diagnostic (SD0013) at the exact token. Null when the
pass declares no vertex shader.
public SourceSpan? VertexProfileSpan { get; init; }
Property Value
VertexProfileToken
The vertex compile <target> token EXACTLY as written (original case),
e.g. PS_SHADERMODEL. VertexProfile is the lowercased form; the
raw token is needed for case-sensitive C macro expansion in the recognized-profile
check (SD0013). Null when the pass declares no vertex shader.
public string? VertexProfileToken { get; init; }