![]() |
latest version v1.9 - last update 10 Apr 2010 |
![]() |
this union allows to share the memory of a 32 bit integer with the three ubytes of RGB and a alpha byte. More...
#include <ltiRGBPixel.h>
Classes | |
struct | channelsType |
the three channels More... | |
Public Attributes | |
uint32 | value |
channelsType | channels |
this union allows to share the memory of a 32 bit integer with the three ubytes of RGB and a alpha byte.
The order of the data in this union assumes little endianness
The channel values instance.
Referenced by lti::rgbPixel::distanceSqr(), lti::rgbPixel::get(), lti::rgbPixel::getAlpha(), lti::rgbPixel::getBlue(), lti::rgbPixel::getDummy(), lti::rgbPixel::getGreen(), lti::rgbPixel::getRed(), lti::rgbPixel::operator[](), lti::rgbPixel::rgbPixel(), lti::rgbPixel::set(), lti::rgbPixel::setAlpha(), lti::rgbPixel::setBlue(), lti::rgbPixel::setDummy(), lti::rgbPixel::setGreen(), and lti::rgbPixel::setRed().
all three channels (and alpha value) together
Referenced by lti::rgbPixel::at(), lti::rgbPixel::getValue(), lti::rgbPixel::rgbPixel(), and lti::rgbPixel::setValue().