UFO 1.0.0
An Efficient Probabilistic 3D Mapping Framework That Embraces the Unknown
Loading...
Searching...
No Matches
ufo::Lrgb< T, Flags > Struct Template Reference

Linear-light RGB color. More...

Detailed Description

template<class T = float, ColorFlags Flags = ColorFlags::None>
requires (std::integral<T> || std::floating_point<T>)
struct ufo::Lrgb< T, Flags >

Linear-light RGB color.

Template Parameters
TType of the color channels (default: float).
FlagsColor flags (default: ColorFlags::None).

T must satisfy std::integral or std::floating_point. Channel values are in [0, 1] for floating-point types and [TYPE_MIN, TYPE_MAX] for integer types. Unlike gamma-encoded sRGB, no gamma encoding is applied.

Definition at line 76 of file lrgb.hpp.


The documentation for this struct was generated from the following file: