Yotsuba Shader
Documentation

Article

Generating shader binaries

Intended shader build workflow and the current availability of binary generation.

For shader authors#

The intended workflow is to compile your C# shader as part of your project build, then load the resulting shader through your engine. You should not call the internal SPIR-V module builder or binary encoder directly.

Current status#

Automatic shader compilation during the build and the shader compilation CLI are still in development. No supported package installation command, generated binary-access API, or command-line contract is available in this checkout.

The existing source generator builds the compiler instruction table internally. It is not a shader compilation tool for application projects.

See the illustrated compilation process.

Copyright © 2026 Yotsuba Shader contributors · Licensing · GitHub