CHANTRAIT< uint8_t > /

#includecinder/ChanTraits.h

Static Public Member Functions

  • uint8_t
    max ()
  • uint8_t
    convert (uint8_t v)
  • uint8_t
    convert (uint16_t v)
  • uint8_t
    convert (half_float v)
  • uint8_t
    convert (float v)
  • uint8_t
    grayscale (uint8_t r, uint8_t g, uint8_t b)
  • uint8_t
    premultiply (uint8_t c, uint8_t a)
  • uint8_t
    inverse (uint8_t c)