Class Fx2RenderState
- Namespace
- ShadowDusk.Core
- Assembly
- ShadowDusk.Core.dll
One pass render-state assignment. Operation is the MojoShader renderStateType file value (NOT a D3DRS number); Value carries the raw dword (D3D9-domain enum value, 0/1 bool, or IEEE-754 bits when IsFloat). The writer restricts ops to the set FNA's runtime honors — anything else makes FNA throw at load time.
public sealed record Fx2RenderState : IEquatable<Fx2RenderState>
- Inheritance
-
Fx2RenderState
- Implements
- Inherited Members
Constructors
Fx2RenderState(int, uint, bool)
One pass render-state assignment. Operation is the MojoShader renderStateType file value (NOT a D3DRS number); Value carries the raw dword (D3D9-domain enum value, 0/1 bool, or IEEE-754 bits when IsFloat). The writer restricts ops to the set FNA's runtime honors — anything else makes FNA throw at load time.
public Fx2RenderState(int Operation, uint Value, bool IsFloat = false)
Parameters
Properties
IsFloat
public bool IsFloat { get; init; }
Property Value
Operation
public int Operation { get; init; }
Property Value
Value
public uint Value { get; init; }