Blender V2.61 - r43446
|
DXT3 alpha block with explicit alpha. More...
#include <BlockDXT.h>
Public Member Functions | |
void | decodeBlock (ColorBlock *block) const |
void | flip4 () |
Flip DXT3 alpha block vertically. | |
void | flip2 () |
Flip half DXT3 alpha block vertically. | |
Public Attributes | |
union { | |
struct { | |
uint alpha0: 4 | |
uint alpha1: 4 | |
uint alpha2: 4 | |
uint alpha3: 4 | |
uint alpha4: 4 | |
uint alpha5: 4 | |
uint alpha6: 4 | |
uint alpha7: 4 | |
uint alpha8: 4 | |
uint alpha9: 4 | |
uint alphaA: 4 | |
uint alphaB: 4 | |
uint alphaC: 4 | |
uint alphaD: 4 | |
uint alphaE: 4 | |
uint alphaF: 4 | |
} | |
uint16 row [4] | |
}; |
DXT3 alpha block with explicit alpha.
Definition at line 101 of file BlockDXT.h.
void AlphaBlockDXT3::decodeBlock | ( | ColorBlock * | block | ) | const |
Definition at line 295 of file BlockDXT.cpp.
References Color32::a, alpha0, alpha1, alpha2, alpha3, alpha4, alpha5, alpha6, alpha7, alpha8, alpha9, alphaA, alphaB, alphaC, alphaD, alphaE, alphaF, and ColorBlock::color().
Referenced by BlockDXT3::decodeBlock(), and BlockDXT3::decodeBlockNV5x().
void AlphaBlockDXT3::flip2 | ( | ) |
Flip half DXT3 alpha block vertically.
Definition at line 323 of file BlockDXT.cpp.
Referenced by BlockDXT3::flip2().
void AlphaBlockDXT3::flip4 | ( | ) |
Flip DXT3 alpha block vertically.
Definition at line 316 of file BlockDXT.cpp.
Referenced by BlockDXT3::flip4().
union { ... } |
Definition at line 105 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 106 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 107 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 108 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 109 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 110 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 111 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 112 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 113 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 114 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 115 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 116 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 117 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 118 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 119 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 120 of file BlockDXT.h.
Referenced by decodeBlock().
Definition at line 122 of file BlockDXT.h.
Referenced by flip2(), flip4(), and mem_read().