Antkeeper
0.0.1
|
#include <engine/color/rgb.hpp>
#include <engine/color/illuminants.hpp>
#include <engine/math/vector.hpp>
#include <cmath>
Go to the source code of this file.
Namespaces | |
color | |
Color science. | |
Functions | |
sRGB color space | |
template<class T > | |
math::vec3< T > | color::srgb_oetf (const math::vec3< T > &x) |
sRGB opto-electronic transfer function (OETF). More... | |
template<class T > | |
math::vec3< T > | color::srgb_eotf (const math::vec3< T > &x) |
sRGB electro-optical transfer function (EOTF). More... | |
template<class T > | |
constexpr rgb_color_space< T > | color::srgb ({T{0.64}, T{0.33}}, {T{0.30}, T{0.60}}, {T{0.15}, T{0.06}}, deg2_d65< T >, &srgb_eotf< T >, &srgb_oetf< T >) |
sRGB color space. More... | |