ShadowDusk.Compiler
0.1.1
See the version list below for details.
dotnet add package ShadowDusk.Compiler --version 0.1.1
NuGet\Install-Package ShadowDusk.Compiler -Version 0.1.1
<PackageReference Include="ShadowDusk.Compiler" Version="0.1.1" />
<PackageVersion Include="ShadowDusk.Compiler" Version="0.1.1" />
<PackageReference Include="ShadowDusk.Compiler" />
paket add ShadowDusk.Compiler --version 0.1.1
#r "nuget: ShadowDusk.Compiler, 0.1.1"
#:package ShadowDusk.Compiler@0.1.1
#addin nuget:?package=ShadowDusk.Compiler&version=0.1.1
#tool nuget:?package=ShadowDusk.Compiler&version=0.1.1
Cross-platform, self-contained HLSL Effect compiler for MonoGame and KNI. Compiles .fx shaders to .mgfx binaries 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 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.1.1)
- ShadowDusk.GLSL (>= 0.1.1)
- ShadowDusk.HLSL (>= 0.1.1)
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 and KNI. 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 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 so output matches the desktop CLI. |
GitHub repositories
This package is not used by any popular GitHub repositories.