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