mirror of
https://github.com/yuzu-emu/FasTC.git
synced 2025-01-09 02:35:41 +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;
|
uint32 PackRGBA() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in a new issue