mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-08 06:25:31 +00:00
Add comment for RGBA packing
This commit is contained in:
parent
b3a07e21f7
commit
8bf682f04e
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue