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)
  • bool
    operator== (const ColorT< T > &rhs) const
  • bool
    operator!= (const ColorT< T > &rhs) const
  • ColorT< T >
    lerp (float fact, const ColorT< T > &d) const
  • operator glm::vec3 () const

Static Public Member Functions

  • ColorT< T >
    max ()
  • ColorT< T >
    black ()
  • ColorT< T >
    white ()
  • ColorT< T >
    gray (T value)