DeltaShader.Tool
0.0.13
See the version list below for details.
dotnet add package DeltaShader.Tool --version 0.0.13
NuGet\Install-Package DeltaShader.Tool -Version 0.0.13
<PackageReference Include="DeltaShader.Tool" Version="0.0.13" />
<PackageVersion Include="DeltaShader.Tool" Version="0.0.13" />
<PackageReference Include="DeltaShader.Tool" />
paket add DeltaShader.Tool --version 0.0.13
#r "nuget: DeltaShader.Tool, 0.0.13"
#:package DeltaShader.Tool@0.0.13
#addin nuget:?package=DeltaShader.Tool&version=0.0.13
#tool nuget:?package=DeltaShader.Tool&version=0.0.13
DeltaShader.Tool
DeltaShader.Tool compiles C# shader projects into validated GLSL, SPIR-V and
ShaderAbi sidecars. It is a build package: add it as a private
PackageReference to the project that owns the shader source.
Enable MSBuild integration
<PropertyGroup>
<DeltaShaderEnabled>true</DeltaShaderEnabled>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DeltaShader.Tool" Version="0.0.12" PrivateAssets="all" />
<DeltaShaderSource Include="Shaders/**/*.cs" />
</ItemGroup>
DeltaShaderSource is optional. If it is omitted, the build integration first
discovers Shaders/**/*.cs and then falls back to the project's normal
Compile items. The tool receives the complete project so Roslyn resolves
references and shader symbols normally.
The build target publishes validated shader output below
bin/<Configuration>/<TargetFramework>/DeltaShader/<AssemblyName>/. It publishes only
.spv, .glsl, .shader.json and .abi.json; lock files and temporary files
are not runtime inputs. The generated C# program/factory surface is the normal
consumer path: use its final ShaderArtifact, ShaderAbi, cached stage ABI
accessors and typed pack/unpack helpers. Do not parse sidecars or duplicate
layout calculations in a consumer. The direct CLI output path is reserved for
bounded validation and Maths conformance bundles.
Generated shader files are not package or runtime artifact members of the tool
package.
The package contains no Vulkan runtime dependency. Render and Engine consume
the final ShaderArtifact/ShaderAbi boundary and do not compile C# or
calculate ABI layout.
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- DeltaShader.Analyzers (>= 0.0.13)
- DeltaShader.Backend.Glsl (>= 0.0.13)
- DeltaShader.Compiler (>= 0.0.13)
- DeltaShader.Contract (>= 0.0.13)
- Microsoft.Build.Locator (>= 1.9.1)
- Microsoft.CodeAnalysis.CSharp.Workspaces (>= 4.13.0)
- Microsoft.CodeAnalysis.Workspaces.MSBuild (>= 4.13.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.