DeltaShader.Tool
0.0.24
dotnet add package DeltaShader.Tool --version 0.0.24
NuGet\Install-Package DeltaShader.Tool -Version 0.0.24
<PackageReference Include="DeltaShader.Tool" Version="0.0.24" />
<PackageVersion Include="DeltaShader.Tool" Version="0.0.24" />
<PackageReference Include="DeltaShader.Tool" />
paket add DeltaShader.Tool --version 0.0.24
#r "nuget: DeltaShader.Tool, 0.0.24"
#:package DeltaShader.Tool@0.0.24
#addin nuget:?package=DeltaShader.Tool&version=0.0.24
#tool nuget:?package=DeltaShader.Tool&version=0.0.24
DeltaShader.Tool
DeltaShader.Tool integrates DeltaShader into a project that owns C# shader
source. It emits validated GLSL, SPIR-V and ShaderAbi sidecars for the
project's renderer.
Installation
Add the tool, compiler and analyzer packages to the shader project:
<PropertyGroup>
<DeltaShaderEnabled>true</DeltaShaderEnabled>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="DeltaShader.Compiler" Version="*" PrivateAssets="all" />
<PackageReference Include="DeltaShader.Analyzers" Version="*" PrivateAssets="all" OutputItemType="Analyzer" />
<PackageReference Include="DeltaShader.Tool" Version="*" PrivateAssets="all" />
<DeltaShaderSource Include="Shaders/**/*.cs" />
</ItemGroup>
DeltaShaderSource can select shader files explicitly. When it is omitted,
the integration discovers Shaders/**/*.cs and then uses the project's normal
C# compile items.
Result
The project receives validated .spv, .glsl, .shader.json and .abi.json
outputs below its normal build output. Generated C# accessors expose the final
ShaderArtifact, ShaderAbi and typed pack/unpack helpers. Consumers should
use those generated APIs instead of reading sidecars or calculating layout.
The package has no Vulkan runtime dependency. A renderer consumes the final artifact boundary; it does not compile shader C# or infer GPU layout.
See the DeltaShader user API for authoring syntax and the final artifact contract for the public handoff.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.