Add comment about RGB formats which are often flipped in memory.
Thx@ Squarefox for reporting. git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@5115 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
6ac1f8d5db
commit
16684d9f19
|
@ -13,7 +13,10 @@ namespace irr
|
|||
namespace video
|
||||
{
|
||||
//! An enum for the color format of textures used by the Irrlicht Engine.
|
||||
/** A color format specifies how color information is stored. */
|
||||
/** A color format specifies how color information is stored.
|
||||
NOTE: Byte order in memory is usually flipped (it's probably correct in bitmap files, but flipped on reading).
|
||||
So for example ECF_A8R8G8B8 is BGRA in memory same as in DX9's D3DFMT_A8R8G8B8 format.
|
||||
*/
|
||||
enum ECOLOR_FORMAT
|
||||
{
|
||||
//! 16 bit color format used by the software driver.
|
||||
|
|
Loading…
Reference in New Issue