ShadowDusk.Compiler
0.5.0
See the version list below for details.
dotnet add package ShadowDusk.Compiler --version 0.5.0
NuGet\Install-Package ShadowDusk.Compiler -Version 0.5.0
<PackageReference Include="ShadowDusk.Compiler" Version="0.5.0" />
<PackageVersion Include="ShadowDusk.Compiler" Version="0.5.0" />
<PackageReference Include="ShadowDusk.Compiler" />
paket add ShadowDusk.Compiler --version 0.5.0
#r "nuget: ShadowDusk.Compiler, 0.5.0"
#:package ShadowDusk.Compiler@0.5.0
#addin nuget:?package=ShadowDusk.Compiler&version=0.5.0
#tool nuget:?package=ShadowDusk.Compiler&version=0.5.0
Cross-platform, self-contained HLSL Effect compiler for MonoGame, KNI, and FNA. Compiles .fx 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. 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.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- ShadowDusk.Core (>= 0.5.0)
- ShadowDusk.GLSL (>= 0.5.0)
- ShadowDusk.HLSL (>= 0.5.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ShadowDusk.Compiler:
| Package | Downloads |
|---|---|
|
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. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.18.0 | 201 | 8/3/2026 |
| 0.17.0 | 1,621 | 8/1/2026 |
| 0.16.0 | 130 | 7/31/2026 |
| 0.15.1 | 105 | 7/28/2026 |
| 0.15.0 | 99 | 7/28/2026 |
| 0.14.2 | 108 | 7/25/2026 |
| 0.14.1 | 115 | 7/25/2026 |
| 0.14.0 | 155 | 7/24/2026 |
| 0.13.0 | 109 | 7/23/2026 |
| 0.12.1 | 104 | 7/22/2026 |
| 0.12.0 | 118 | 7/19/2026 |
| 0.11.0 | 1,075 | 6/29/2026 |
| 0.10.0 | 119 | 6/28/2026 |
| 0.9.0 | 133 | 6/22/2026 |
| 0.8.0 | 4,644 | 6/18/2026 |
| 0.7.0 | 133 | 6/15/2026 |
| 0.6.0 | 119 | 6/14/2026 |
| 0.5.1 | 120 | 6/13/2026 |
| 0.5.0 | 121 | 6/13/2026 |
| 0.4.0 | 121 | 6/11/2026 |