FieldProbe (shader)
Offscreen GPU probe of a scalar field Φ(p): ‖∇Φ‖ statistics over a cubic lattice, or a single-point readout.
In the namespace shader. Declared in src/libs/libshader/shader/FieldProbe.hpp.
Detailed description
The reusable engine behind the definition editor's Field Probe card. raybench (§RQ-6.1) carries its own copy of the lattice probe on purpose — its numbers are pinned by a committed baseline, and a shared core would put those measurements one refactor away from perturbation. This class is the interactive counterpart, free to grow UI-facing features.
The caller supplies a COMPLETE fragment shader (see composeProbeShader / composePointShader, which wrap a definition's GLSL and a call expression into one). Lives in libshader because it needs shader::compileShader and librhi's offscreen bootstrap and nothing above them.