ReadonlynameStable identifier for diagnostics (point, bloom-threshold, …).
Optional ReadonlywebglGLSL3 strings for THREE.ShaderMaterial. Optional — present
today on every Luxar shader as the GLSL reference, but a future
shader could ship without it if no reference is needed.
Optional ReadonlywebgpuTSL / NodeMaterial factory for the WebGPU backend. Returns the
renderer-specific material. This is a type-only reference, so
importing the public ShaderSource type does not load WebGPU code.
A single shader for one material / pass.
Carries the TSL
webgpufactory (primary) and the GLSL3webglstrings (reference / fallback). Both are optional but at least one must be present — enforced bybuildMaterialat construction time, not by the type system, so shader authors can author either backend first.The WebGPU factory returns a TSL
NodeMaterial, not a GLSLShaderMaterial(which WebGPURenderer cannot draw).