Table of Contents

Namespace ShadowDusk.Compiler

Classes

EffectCompiler

The product's in-memory shader compiler and the default IShaderCompiler implementation: HLSL .fx source in, .mgfx bytes out, on Linux, macOS, or Windows with nothing but this library. Orchestrates the faithful pipeline — HLSL → DXC → SPIR-V → SPIRV-Cross → GLSL for OpenGL, and HLSL → vkd3d-shader → DXBC for DirectX — and writes the MonoGame/KNI .mgfx container.