Expand description
“Shader Editor” window for EffectKind::Shader: the GLSL body in a monospace editor, an Apply
button, and the driver’s compile log verbatim (selectable, so it can be pasted somewhere) when the
source was rejected. Non-modal — the timeline stays usable while it is open.
The window only edits text: the app writes the source back onto the effect, pushes undo and asks
GpuRenderer::check_shader for the log, then hands it here through error.
Structs§
Constants§
- UNIFORMS 🔒
- What
shaders::user_shaderputs in scope — the knobs are invisible otherwise.
Functions§
- show
- Draws the window; true = “Apply” (the app writes the source back and compiles it).