Get started with Yotsuba Shader
Explore C# shader declarations and the current compiler components.
Before you begin
The source projects target .NET 8. This checkout does not establish the availability of a published, production-ready NuGet package.
| Requirement | Details |
|---|---|
| .NET 8 SDK | The solution targets net8.0; global.json asks for SDK 8.0 and rolls forward to the latest minor version. |
| Operating system | macOS, Linux or Windows with a compatible SDK. |
| Git | To clone the repository. |
| SPIRV-Tools (optional) | Provides spirv-val to validate generated modules. |
Explore the current API
Start with the source checkout, its authoring examples, and shader discovery. Complete shader compilation, build-time shader generation, and engine adapters are still in development.
Build from sourceWhere to go next
Understand the model
The language, the IR and the compiler stages in one article.
Learn more
Pick a syntax
HLSL, GLSL, MSL, SPIR-V or WGSL syntax. Same semantics.
Learn more
See errors in your IDE
Current validation limits and planned shader diagnostics.
Learn more
See the technologies
The language, the Roslyn frontend, the IR and the SPIR-V compiler.
Learn more
