The colour temperatures the library works in, in kelvin.
More...
|
| constexpr int | bound (int kelvin) |
| | Clamp kelvin to [Minimum, Maximum].
|
|
| constexpr int | Minimum = 1000 |
| | The warmest temperature the library sets.
|
| constexpr int | Maximum = 10000 |
| | The coolest temperature the library sets.
|
| constexpr int | Neutral = 6500 |
| | The temperature that leaves the screen unchanged (an identity ramp).
|
The colour temperatures the library works in, in kelvin.
◆ bound()
| int PhosphorServiceNightLight::ColorTemperature::bound |
( |
int | kelvin | ) |
|
|
nodiscardconstexpr |
Clamp kelvin to [Minimum, Maximum].
◆ Maximum
| int PhosphorServiceNightLight::ColorTemperature::Maximum = 10000 |
|
inlineconstexpr |
The coolest temperature the library sets.
◆ Minimum
| int PhosphorServiceNightLight::ColorTemperature::Minimum = 1000 |
|
inlineconstexpr |
The warmest temperature the library sets.
◆ Neutral
| int PhosphorServiceNightLight::ColorTemperature::Neutral = 6500 |
|
inlineconstexpr |
The temperature that leaves the screen unchanged (an identity ramp).