Blender V2.61 - r43446
|
ATI2 block. More...
#include <BlockDXT.h>
Public Member Functions | |
void | decodeBlock (ColorBlock *block) const |
Decode ATI2 block. | |
void | flip4 () |
Flip ATI2 block vertically. | |
void | flip2 () |
Flip half ATI2 block vertically. | |
Public Attributes | |
AlphaBlockDXT5 | x |
AlphaBlockDXT5 | y |
ATI2 block.
Definition at line 235 of file BlockDXT.h.
void BlockATI2::decodeBlock | ( | ColorBlock * | block | ) | const |
Decode ATI2 block.
Definition at line 520 of file BlockDXT.cpp.
References Color32::a, Color32::b, ColorBlock::color(), AlphaBlockDXT5::evaluatePalette(), Color32::g, i, AlphaBlockDXT5::indices(), Color32::r, x, and y.
void BlockATI2::flip2 | ( | ) |
Flip half ATI2 block vertically.
Definition at line 552 of file BlockDXT.cpp.
References AlphaBlockDXT5::flip2(), x, and y.
void BlockATI2::flip4 | ( | ) |
Flip ATI2 block vertically.
Definition at line 545 of file BlockDXT.cpp.
References AlphaBlockDXT5::flip4(), x, and y.
Definition at line 237 of file BlockDXT.h.
Referenced by decodeBlock(), flip2(), flip4(), and mem_read().
Definition at line 238 of file BlockDXT.h.
Referenced by decodeBlock(), flip2(), flip4(), and mem_read().