Class SignatureParameterReflection
- Namespace
- ShadowDusk.Core.Reflection
- Assembly
- ShadowDusk.Core.dll
One entry in a shader stage's input or output signature, describing a semantic-bound attribute (its semantic, register, system-value role, component type, and write mask).
public sealed record SignatureParameterReflection : IEquatable<SignatureParameterReflection>
- Inheritance
-
SignatureParameterReflection
- Implements
- Inherited Members
Properties
ComponentType
The component data type (e.g. float, uint).
public required string ComponentType { get; init; }
Property Value
Mask
The component write/read mask (bits for x/y/z/w).
public required byte Mask { get; init; }
Property Value
Register
The register the parameter is assigned to.
public required int Register { get; init; }
Property Value
SemanticIndex
The semantic index (e.g. the 0 in TEXCOORD0).
public required int SemanticIndex { get; init; }
Property Value
SemanticName
The HLSL semantic name (e.g. POSITION, TEXCOORD).
public required string SemanticName { get; init; }
Property Value
SystemValue
The system-value semantic role (e.g. POS for SV_Position), or empty.
public required string SystemValue { get; init; }