Add comment for RGBA packing

This commit is contained in:
Pavel Krajcevski 2013-08-31 16:37:40 -04:00
parent b3a07e21f7
commit 8bf682f04e

View file

@ -105,6 +105,10 @@ class Pixel {
}
}
// Take all of the components, transform them to their 8-bit variants,
// and then pack each channel into an R8G8B8A8 32-bit integer. We assume
// that the architecture is little-endian, so the alpha channel will end
// up in the most-significant byte.
uint32 PackRGBA() const;
private: