Any GeometryTypeName. Exhaustive: a new geometry type must state its own scalar-presence rule below rather than inheriting the fail-closed tail, which would silently suppress its colormaps.
Optionalgeometry: BufferGeometry<NormalBufferAttributes, BufferGeometryEventMap>
Optional buffer geometry; required for points and
lines. When undefined for those types, returns false (fail-closed).
true only when the geometry carries the per-node-type
scalar data.
Whether scalar-colormap support for a node type is end-to-end wired (loader → projection → geometry storage → shader scalar source → material define).
userData.hasScalarsstamp the texel writers set fromdata.scalars !== undefined(createPointsGeometryand the gpu-buffer-pool points adapter). This is the texture-storage analog of the oldhasAttribute('aScalar')probe, driven by the same signal that used to bind the attribute.userData.hasScalarsstamp (stampLinePresenceFlagsin line-geometry.ts, called by every texel-write path).Use this to fail-closed: if
false, the caller should NOT enableUSE_COLORMAPand should log a warning so the user understands why a metadata-authored colormap did not take effect.