Blender V2.61 - r43446
Public Member Functions | Public Attributes

AlphaBlockDXT3 Struct Reference

DXT3 alpha block with explicit alpha. More...

#include <BlockDXT.h>

List of all members.

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]
}; 

Detailed Description

DXT3 alpha block with explicit alpha.

Definition at line 101 of file BlockDXT.h.


Member Function Documentation

void AlphaBlockDXT3::decodeBlock ( ColorBlock block) const
void AlphaBlockDXT3::flip2 ( )

Flip half DXT3 alpha block vertically.

Definition at line 323 of file BlockDXT.cpp.

References row, and swap().

Referenced by BlockDXT3::flip2().

void AlphaBlockDXT3::flip4 ( )

Flip DXT3 alpha block vertically.

Definition at line 316 of file BlockDXT.cpp.

References row, and swap().

Referenced by BlockDXT3::flip4().


Member Data Documentation

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().


The documentation for this struct was generated from the following files: