Function wrap
pub fn wrap(shader: &Source) -> StringExpand description
The complete WGSL module the toolkit compiles: the pipeline around the
theme’s fs_surface.
The documented inputs are function arguments here rather than a struct, so a shader declares no types of its own and the toolkit binds everything: the sampled backdrop, the theme’s colours for the part, the uniforms and the static time.