Show All |
Public Member Functions
-
ColorT ()
-
ColorT (T red, T green, T blue)
-
ColorT (const ColorT< T > &src)
-
ColorT (const char *svgColorName)
-
ColorT (ColorModel cm, const vec3 &v)
-
ColorT (ColorModel cm, float c0, float c1, float c2)
-
ColorT (const ColorT< FromT > &src)
-
ColorT< T >operator= (const ColorT< FromT > &rhs)
-
T &operator[] (int n)
-
const T &operator[] (int n) const
-
T *ptr () const
-
ColorT< T >operator+ (const ColorT< T > &rhs) const
-
ColorT< T >operator+ (const glm::vec3 &rhs) const
-
ColorT< T >operator- (const ColorT< T > &rhs) const
-
ColorT< T >operator- (const glm::vec3 &rhs) const
-
ColorT< T >operator* (const ColorT< T > &rhs) const
-
ColorT< T >operator* (const glm::vec3 &rhs) const
-
ColorT< T >operator/ (const ColorT< T > &rhs) const
-
ColorT< T >operator/ (const glm::vec3 &rhs) const
-
const ColorT< T > &operator+= (const ColorT< T > &rhs)
-
const ColorT< T > &operator+= (const glm::vec3 &rhs)
-
const ColorT< T > &operator-= (const ColorT< T > &rhs)
-
const ColorT< T > &operator-= (const glm::vec3 &rhs)
-
const ColorT< T > &operator*= (const ColorT< T > &rhs)
-
const ColorT< T > &operator*= (const glm::vec3 &rhs)
-
const ColorT< T > &operator/= (const ColorT< T > &rhs)
-
const ColorT< T > &operator/= (const glm::vec3 &rhs)
-
ColorT< T >operator+ (T rhs) const
-
ColorT< T >operator- (T rhs) const
-
ColorT< T >operator* (T rhs) const
-
ColorT< T >operator/ (T rhs) const
-
const ColorT< T > &operator+= (T rhs)
-
const ColorT< T > &operator-= (T rhs)
-
const ColorT< T > &operator*= (T rhs)
-
const ColorT< T > &operator/= (T rhs)
-
booloperator== (const ColorT< T > &rhs) const
-
booloperator!= (const ColorT< T > &rhs) const
-
ColorT< T >lerp (float fact, const ColorT< T > &d) const
-
operator glm::vec3 () const