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; the shape is intentionally unspecified so this module stays three-version-agnostic.
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
webgpufield deliberately usesunknownrather than importingNodeMaterialtypes so this module stays three-version-agnostic.