Class ShaderIR
- Namespace
- ShadowDusk.Core
- Assembly
- ShadowDusk.Core.dll
ShadowDusk's backend-neutral intermediate representation of a whole effect, sitting between the parsed/reflected HLSL and the final MGFX emission: the constant buffers, per-pass compiled shader blobs, flattened effect parameters, and techniques the MgfxWriter serializes. It carries no platform-specific bytecode shape, so the same IR drives every MGFX-targeting backend.
public sealed class ShaderIR
- Inheritance
-
ShaderIR
- Inherited Members
Properties
ConstantBuffers
The effect's global constant buffers, in emission order.
public IReadOnlyList<ConstantBufferInfo> ConstantBuffers { get; init; }
Property Value
Parameters
The flattened effect parameters exposed to the runtime.
public IReadOnlyList<EffectParameterInfo> Parameters { get; init; }
Property Value
Shaders
The compiled per-pass shader blobs (vertex and pixel).
public IReadOnlyList<CompiledShaderBlob> Shaders { get; init; }
Property Value
Techniques
The effect techniques, each with its ordered passes.
public IReadOnlyList<MgfxTechniqueInfo> Techniques { get; init; }