Sign in Sign up
nuget

ShadowDusk.Wasm

In-browser (WebAssembly / Blazor net8.0-browser) HLSL Effect compiler for MonoGame, KNI, and FNA. Add the package to a net8.0-browser app, call WasmShaderCompiler.CompileAsync, and feed the .mgfx bytes to new Effect(gd, bytes) — the native DXC + SPIRV-Cross + vkd3d-shader WASM modules ride inside the package as Blazor static web assets (served at _content/ShadowDusk.Wasm/) and self-register; the consumer wires NOTHING. Uses the faithful pinned DXC -> SPIR-V -> SPIRV-Cross -> GLSL pipeline (OpenGL/WebGL) and the pinned vkd3d-shader -> DXBC / D3D9 pipeline (DirectX .mgfx and FNA .fxb as in-browser export targets), byte-identical to the desktop CLI output.

nuget View on Nuget

Activity

Latest release
4d ago
Total releases
25
Cadence
~daily
Last 12 months
25

Details

License
MIT
First release
Jun 07, 2026
Releases
Version Released
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