Table of Contents

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

IReadOnlyList<AnnotationEntry>

Name

The declared pass name.

public required string Name { get; init; }

Property Value

string

PixelEntryPoint

Pixel shader entry-point function name, e.g. "PSMain".

public required string? PixelEntryPoint { get; init; }

Property Value

string

PixelProfile

Pixel shader profile string, e.g. "ps_3_0" or "ps_5_0".

public required string? PixelProfile { get; init; }

Property Value

string

RenderStates

All non-shader render-state assignments in this pass.

public required IReadOnlyList<RenderStateEntry> RenderStates { get; init; }

Property Value

IReadOnlyList<RenderStateEntry>

Span

Source location of the entire pass block.

public required SourceSpan Span { get; init; }

Property Value

SourceSpan

VertexEntryPoint

Vertex shader entry-point function name, e.g. "VSMain".

public required string? VertexEntryPoint { get; init; }

Property Value

string

VertexProfile

Vertex shader profile string, e.g. "vs_3_0" or "vs_5_0".

public required string? VertexProfile { get; init; }

Property Value

string