28 #ifndef __OgreDDSCodec_H__ 29 #define __OgreDDSCodec_H__ 41 struct DXTColourBlock;
42 struct DXTExplicitAlphaBlock;
43 struct DXTInterpolatedAlphaBlock;
55 static void flipEndian(
void * pData,
size_t size,
size_t count);
56 static void flipEndian(
void * pData,
size_t size);
66 void unpackDXTAlpha(
const DXTExplicitAlphaBlock& block,
ColourValue* pCol)
const;
68 void unpackDXTAlpha(
const DXTInterpolatedAlphaBlock& block,
ColourValue* pCol)
const;
83 String magicNumberToFileExt(
const char *magicNumberPtr,
size_t maxbytes)
const;
85 virtual String getType()
const;
88 static void startup(
void);
90 static void shutdown(
void);
static DDSCodec * msInstance
Single registered codec instance.
Class representing colour.
PixelFormat
The pixel format used for images, textures, and render surfaces.
Codec specialized in loading DDS (Direct Draw Surface) images.
Codec specialized in images.