Yotsuba ShaderLearn

Compile in your build

1 min read

Run the compiler from CI or from your engine's content pipeline.

Use the CLI from a build step, or reference the compiler library from your content tool.

dotnet yotsuba compile Game.Graphics.csproj \
  --target spirv \
  --output artifacts/

Choosing targets#

Pick the targets your renderer consumes. SPIR-V suits Vulkan-style pipelines; HLSL, GLSL, GLSL ES and Metal cover the native shading languages.