Render the TSL path of a registered shader via WebGPURenderer
(WebGL backend by default; real WebGPU with { native: true }) and
return both the readback pixels and the generated shader strings.
Capturing the GLSL strings requires walking the WebGLBackend's
pipeline cache after the render completes — there's no public
"give me the source" API, so we read the strings off the
NodeBuilderState that the backend stashes per-RenderObject.
Render the TSL path of a registered shader via
WebGPURenderer(WebGL backend by default; real WebGPU with{ native: true }) and return both the readback pixels and the generated shader strings.Capturing the GLSL strings requires walking the
WebGLBackend's pipeline cache after the render completes — there's no public "give me the source" API, so we read the strings off theNodeBuilderStatethat the backend stashes per-RenderObject.