Map a normalized [0, 1] position on the ramp to a colour.
A three-stop blue-green-red ramp, interpolated linearly in each channel. It
returns RGB channel values without allocating a texture. The caller owns the
renderer's subsequent color-space conversion. Finite values outside the unit
interval clamp to the nearest endpoint; NaN propagates rather than becoming a
valid color.
Map a normalized
[0, 1]position on the ramp to a colour.A three-stop blue-green-red ramp, interpolated linearly in each channel. It returns RGB channel values without allocating a texture. The caller owns the renderer's subsequent color-space conversion. Finite values outside the unit interval clamp to the nearest endpoint; NaN propagates rather than becoming a valid color.