Documentation
Articles, tutorials and reference for the Yotsuba Shader framework, the compiler and the intermediate representation.
Technologies
Start here
Understanding Yotsuba Shader
Discover how a C# class becomes a shader: the language, the intermediate representation and the compiler.
Learn more
Writing your first shader
Declare vertex inputs and outputs, then write a vertex stage and a fragment stage that pass a color through.
Learn more
Choosing a syntax
The HLSL, GLSL, MSL, SPIR-V and WGSL syntaxes express the same intent. Pick the one your team knows.
Learn more
Shader diagnostics in your IDE
Available C# checks and exceptions, with planned IDE shader diagnostics identified explicitly.
Learn more
Built-in values across syntaxes
The same built-in value, spelled in the HLSL, GLSL, MSL, SPIR-V and WGSL syntaxes.
Learn more
Generating shader binaries
Intended shader build workflow and the current availability of binary generation.
Learn more
