Sign in Sign up
nuget

ShadowDusk.Compiler

Cross-platform, self-contained HLSL Effect compiler for MonoGame, KNI, and FNA. Compiles .fx (or .slang, the HLSL-compatible subset of Slang) shaders to .mgfx binaries (MonoGame/KNI) or D3D9 fx_2_0 .fxb binaries (FNA) in memory at runtime — on Linux, macOS, or Windows — with no Wine, Windows SDK, fxc.exe, or mgfxc required. Also converts .fx pixel shaders to SkSL for SkiaSharp's SKRuntimeEffect. Add the package and call EffectCompiler.CompileAsync; feed the bytes to new Effect(gd, bytes). Pulls the ShadowDusk.* set and the native DXC + SPIRV-Cross + vkd3d-shader binaries transitively.

nuget View on Nuget

Activity

Latest release
3d ago
Total releases
26
Cadence
~daily
Last 12 months
26

Details

License
MIT
First release
Jun 07, 2026
Releases
Version Released
0.20.0 minor
0.19.0 minor
0.18.0 minor
0.17.0 minor
0.16.0 minor
0.15.1 patch
0.15.0 minor
0.14.2 patch
0.14.1 patch
0.14.0 minor
0.13.0 minor
0.12.1 patch
0.12.0 minor
0.11.0 minor
0.10.0 minor
0.9.0 minor
0.8.0 minor
0.7.0 minor
0.6.0 minor
0.5.1 patch
0.5.0 minor
0.4.0 minor
0.3.0 minor
0.2.0 minor
0.1.1 patch
0.1.0 initial