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
NamestringVertexShaderIndexintPixelShaderIndexintRenderStatesIReadOnlyList<Fx2RenderState>
Properties
Name
public string Name { get; init; }
Property Value
PixelShaderIndex
public int PixelShaderIndex { get; init; }
Property Value
RenderStates
public IReadOnlyList<Fx2RenderState> RenderStates { get; init; }
Property Value
VertexShaderIndex
public int VertexShaderIndex { get; init; }