|
| template<ColorComponent T> |
| std::ostream & | osc::operator<< (std::ostream &o, const Rgba< T > &rgba) |
| |
| template<ColorComponent T> |
| constexpr const T * | osc::value_ptr (const Rgba< T > &rgba) |
| |
| template<ColorComponent T> |
| constexpr T * | osc::value_ptr (Rgba< T > &rgba) |
| |
| template<size_t I, ColorComponent T> |
| constexpr const T & | osc::get (const Rgba< T > &rgba) |
| |
| template<size_t I, ColorComponent T> |
| constexpr T & | osc::get (Rgba< T > &rgba) |
| |
| template<size_t I, ColorComponent T> |
| constexpr T && | osc::get (Rgba< T > &&rgba) |
| |
| template<size_t I, ColorComponent T> |
| constexpr const T && | osc::get (const Rgba< T > &&rgba) |
| |
| template<ColorComponent T, std::invocable< const T & > UnaryOperation> |
| constexpr auto | osc::map (const Rgba< T > &x, UnaryOperation op) -> Rgba< decltype(std::invoke(op, x[0]))> |
| |
| template<ColorComponent T, std::invocable< const T &, const T & > BinaryOperation> |
| constexpr auto | osc::map (const Rgba< T > &x, const Rgba< T > &y, BinaryOperation op) -> Rgba< decltype(std::invoke(op, x[0], y[0]))> |
| |
| template<ColorComponent T, typename TInterpolant > |
| constexpr auto | osc::lerp (const Rgba< T > &x, const Rgba< T > &y, TInterpolant t) |
| |
| template<ColorComponent T> |
| constexpr Rgba< T > | osc::saturate (const Rgba< T > &x) |
| |