Class ReflectedEffect
- Namespace
- ShadowDusk.Core.Reflection
- Assembly
- ShadowDusk.Core.dll
The complete reflected metadata for one compiled shader: its constant buffers, texture
and sampler bindings, input/output signatures, and flattened effect parameters. Produced
by IShaderReflector and consumed when writing the .mgfx container.
public sealed record ReflectedEffect : IEquatable<ReflectedEffect>
- Inheritance
-
ReflectedEffect
- Implements
- Inherited Members
Properties
ConstantBuffers
The constant (uniform) buffers declared by the shader.
public required IReadOnlyList<ConstantBufferReflection> ConstantBuffers { get; init; }
Property Value
InputSignature
The shader's input signature (stage input attributes).
public required IReadOnlyList<SignatureParameterReflection> InputSignature { get; init; }
Property Value
OutputSignature
The shader's output signature (stage output attributes).
public required IReadOnlyList<SignatureParameterReflection> OutputSignature { get; init; }
Property Value
Parameters
The flattened effect parameters exposed to the MonoGame runtime.
public required IReadOnlyList<ParameterReflection> Parameters { get; init; }
Property Value
Samplers
The samplers bound by the shader.
public required IReadOnlyList<SamplerReflection> Samplers { get; init; }
Property Value
Textures
The texture resources bound by the shader.
public required IReadOnlyList<TextureReflection> Textures { get; init; }