Table of Contents

Class Fx2Pass

Namespace
ShadowDusk.Core
Assembly
ShadowDusk.Core.dll

One fx_2_0 pass. Shader indices of -1 mean the stage is absent — the writer then omits the VertexShader/PixelShader state entirely (MojoShader keeps the previously bound shader; emitting a "NULL shader" state is the unresolved F4 ambiguity).

public sealed record Fx2Pass : IEquatable<Fx2Pass>
Inheritance
Fx2Pass
Implements
Inherited Members

Constructors

Fx2Pass(string, int, int, IReadOnlyList<Fx2RenderState>)

One fx_2_0 pass. Shader indices of -1 mean the stage is absent — the writer then omits the VertexShader/PixelShader state entirely (MojoShader keeps the previously bound shader; emitting a "NULL shader" state is the unresolved F4 ambiguity).

public Fx2Pass(string Name, int VertexShaderIndex, int PixelShaderIndex, IReadOnlyList<Fx2RenderState> RenderStates)

Parameters

Name string
VertexShaderIndex int
PixelShaderIndex int
RenderStates IReadOnlyList<Fx2RenderState>

Properties

Name

public string Name { get; init; }

Property Value

string

PixelShaderIndex

public int PixelShaderIndex { get; init; }

Property Value

int

RenderStates

public IReadOnlyList<Fx2RenderState> RenderStates { get; init; }

Property Value

IReadOnlyList<Fx2RenderState>

VertexShaderIndex

public int VertexShaderIndex { get; init; }

Property Value

int