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