xoreos
0.0.5
|
DDS texture (DirectDraw Surface or BioWare's own format) loading). More...
#include "src/common/scopedptr.h"
#include "src/common/util.h"
#include "src/common/error.h"
#include "src/common/readstream.h"
#include "src/graphics/images/dds.h"
#include "src/graphics/images/util.h"
Go to the source code of this file.
Namespaces | |
Graphics | |
Macros | |
#define | IsPower2(x) ((x) && (((x) & ((x) - 1)) == 0)) |
Variables | |
static const uint32 | kDDSID = MKTAG('D', 'D', 'S', ' ') |
static const uint32 | kDXT1ID = MKTAG('D', 'X', 'T', '1') |
static const uint32 | kDXT3ID = MKTAG('D', 'X', 'T', '3') |
static const uint32 | kDXT5ID = MKTAG('D', 'X', 'T', '5') |
static const uint32 | kHeaderFlagsHasMipMaps = 0x00020000 |
static const uint32 | kPixelFlagsHasAlpha = 0x00000001 |
static const uint32 | kPixelFlagsHasFourCC = 0x00000004 |
static const uint32 | kPixelFlagsIsIndexed = 0x00000020 |
static const uint32 | kPixelFlagsIsRGB = 0x00000040 |
DDS texture (DirectDraw Surface or BioWare's own format) loading).
Definition in file dds.cpp.
#define IsPower2 | ( | x | ) | ((x) && (((x) & ((x) - 1)) == 0)) |
Definition at line 139 of file dds.cpp.
Referenced by Graphics::DDS::readBioWareHeader().
Definition at line 33 of file dds.cpp.
Referenced by Graphics::DDS::readHeader().
Definition at line 34 of file dds.cpp.
Referenced by Graphics::DDS::detectFormat().
Definition at line 35 of file dds.cpp.
Referenced by Graphics::DDS::detectFormat().
Definition at line 36 of file dds.cpp.
Referenced by Graphics::DDS::detectFormat().
|
static |
Definition at line 38 of file dds.cpp.
Referenced by Graphics::DDS::readStandardHeader().
|
static |
Definition at line 40 of file dds.cpp.
Referenced by Graphics::DDS::detectFormat().
|
static |
Definition at line 41 of file dds.cpp.
Referenced by Graphics::DDS::detectFormat().
|
static |
Definition at line 42 of file dds.cpp.
Referenced by Graphics::DDS::detectFormat().
|
static |
Definition at line 43 of file dds.cpp.
Referenced by Graphics::DDS::detectFormat().