file
Color.hClass Magnum::
Namespaces
- namespace Magnum
- Root namespace.
- namespace Magnum::Math
- Math library.
- namespace Magnum::Math::Literals
- Math literals.
- namespace Magnum::Math::Literals::ColorLiterals new in Git master
- Math color literals.
Classes
-
template<class T>class Magnum::Math::Color3
- Color in linear RGB color space.
-
template<class T = Float>class Magnum::Math::Color4
- Color in linear RGBA color space.
-
template<class T>struct Magnum::Math::ColorHsv new in 2019.10
- HSV color.
-
template<>struct Corrade::Utility::TweakableParser<Magnum::Math::Color3<Magnum::UnsignedByte>>
- Tweakable literal parser.
-
template<>struct Corrade::Utility::TweakableParser<Magnum::Math::Color4<Magnum::UnsignedByte>>
- Tweakable literal parser.
-
template<>struct Corrade::Utility::TweakableParser<Magnum::Math::Color3<Magnum::Float>>
- Tweakable literal parser.
-
template<>struct Corrade::Utility::TweakableParser<Magnum::Math::Color4<Magnum::Float>>
- Tweakable literal parser.
Functions
-
template<class T>auto xyYToXyz(const Vector3<T>& xyY) -> Vector3<T>
- Convert color from CIE xyY representation to CIE XYZ.
-
template<class T>auto xyzToXyY(const Vector3<T>& xyz) -> Vector3<T>
- Convert color from CIE XYZ representation to CIE xyY
-
template<class T>auto operator<<(Debug& debug, const ColorHsv<T>& value) -> Debug&
- Debug output operator.
-
template<char... chars>auto operator""_rgb() -> Color3<UnsignedByte> constexpr
- 8bit-per-channel linear RGB literal
-
template<char... chars>auto operator""_srgb() -> Vector3<UnsignedByte> constexpr
- 8bit-per-channel sRGB literal
-
template<char... chars>auto operator""_rgba() -> Color4<UnsignedByte> constexpr
- 8bit-per-channel linear RGBA literal
-
template<char... chars>auto operator""_srgba() -> Vector4<UnsignedByte> constexpr
- 8bit-per-channel sRGB + alpha literal
-
template<char... chars>auto operator""_rgbf() -> Color3<Float> constexpr
- Float linear RGB literal.
-
template<char... chars>auto operator""_srgbf() -> Color3<Float>
- Float sRGB literal.
-
template<char... chars>auto operator""_rgbaf() -> Color4<Float> constexpr
- Float linear RGBA literal.
-
template<char... chars>auto operator""_srgbaf() -> Color4<Float>
- Float sRGB + alpha literal.
-
template<char... chars>auto operator""_rgbh() -> Color3<Half> new in Git master
- Half-float linear RGB literal.
-
template<char... chars>auto operator""_srgbh() -> Color3<Half> new in Git master
- Half-float sRGB literal.
-
template<char... chars>auto operator""_rgbah() -> Color4<Half> new in Git master
- Half-float linear RGBA literal.
-
template<char... chars>auto operator""_srgbah() -> Color4<Half> new in Git master
- Half-float sRGB + alpha literal.
- auto operator<<(Debug& debug, const Color3<UnsignedByte>& value) -> Debug&
- Debug output operator.
- auto operator<<(Debug& debug, const Color4<UnsignedByte>& value) -> Debug&
- Debug output operator.