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
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; }