Skip to main content

Module shader

Module shader 

Source
Expand description

Shader decoder: raw .wgsl bytes → CpuShaderSource (UTF-8).

Auto-registered via inventory::submit! under the canonical "shader" slot. Pure CPU work; the hot-reload pump feeds the decoded string to PipelineSystem::set_overlay_source.

Structs§

ShaderDecoder
Decodes a .wgsl shader file into a CpuShaderSource (validated UTF-8).