Public Member Functions

  • ColorAT ()
  • ColorAT (T red, T green, T blue, T alpha=CHANTRAIT< T >::convert(1.0f))
  • ColorAT (const ColorAT< T > &src)
  • ColorAT (const ColorT< T > &color, T alpha=CHANTRAIT< T >::convert(1.0f))
  • ColorAT (const char *svgColorName, T aA=CHANTRAIT< T >::convert(1.0f))
  • ColorAT (ColorModel cm, float c0, float c1, float c2, float alpha=CHANTRAIT< T >::convert(1.0f))
  • ColorAT (const ColorT< FromT > &src)
  • ColorAT (const vec4 &src)
  • ColorAT (const ColorAT< FromT > &src)
  • ColorAT< T >
    operator= (const ColorAT< FromT > &rhs)
  • T &
    operator[] (int n)
  • const T &
    operator[] (int n) const
  • T *
    ptr () const
  • ColorAT< T >
    operator+ (const ColorAT< T > &rhs) const
  • ColorAT< T >
    operator+ (const glm::vec4 &rhs) const
  • ColorAT< T >
    operator- (const ColorAT< T > &rhs) const
  • ColorAT< T >
    operator- (const glm::vec4 &rhs) const
  • ColorAT< T >
    operator* (const ColorAT< T > &rhs) const
  • ColorAT< T >
    operator* (const glm::vec4 &rhs) const
  • ColorAT< T >
    operator/ (const ColorAT< T > &rhs) const
  • ColorAT< T >
    operator/ (const glm::vec4 &rhs) const
  • const ColorAT< T > &
    operator+= (const ColorAT< T > &rhs)
  • const ColorAT< T > &
    operator+= (const glm::vec4 &rhs)
  • const ColorAT< T > &
    operator-= (const ColorAT< T > &rhs)
  • const ColorAT< T > &
    operator-= (const glm::vec4 &rhs)
  • const ColorAT< T > &
    operator*= (const ColorAT< T > &rhs)
  • const ColorAT< T > &
    operator*= (const glm::vec4 &rhs)
  • const ColorAT< T > &
    operator/= (const ColorAT< T > &rhs)
  • const ColorAT< T > &
    operator/= (const vec4 &rhs)
  • ColorAT< T >
    operator+ (T rhs) const
  • ColorAT< T >
    operator- (T rhs) const
  • ColorAT< T >
    operator* (T rhs) const
  • ColorAT< T >
    operator/ (T rhs) const
  • const ColorAT< T > &
    operator+= (T rhs)
  • const ColorAT< T > &
    operator-= (T rhs)
  • const ColorAT< T > &
    operator*= (T rhs)
  • const ColorAT< T > &
    operator/= (T rhs)
  • bool
    operator== (const ColorAT< T > &rhs) const
  • bool
    operator!= (const ColorAT< T > &rhs) const
  • ColorAT< T >
    premultiplied () const
  • ColorAT< T >
    lerp (T fact, const ColorAT< T > &d) const
  • operator ColorT< T > () const
  • operator glm::vec4 () const
  • const ColorAT< uint8_t > &
    operator*= (const ColorAT< uint8_t > &rhs)
  • const ColorAT< uint8_t > &
    operator*= (uint8_t rhs)
  • ColorAT< uint8_t >
    operator* (const ColorAT< uint8_t > &rhs) const
  • ColorAT< uint8_t >
    operator* (uint8_t rhs) const
  • const ColorAT< uint8_t > &
    operator/= (const ColorAT< uint8_t > &rhs)
  • const ColorAT< uint8_t > &
    operator/= (uint8_t rhs)
  • ColorAT< uint8_t >
    operator/ (const ColorAT< uint8_t > &rhs) const
  • ColorAT< uint8_t >
    operator/ (uint8_t rhs) const
  • ColorAT< uint8_t >
    lerp (uint8_t fact, const ColorAT< uint8_t > &d) const

Static Public Member Functions

  • ColorAT< T >
    zero ()
  • ColorAT< T >
    black ()
  • ColorAT< T >
    white ()
  • ColorAT< T >
    gray (T value, T alpha=CHANTRAIT< T >::max())