|
xoreos
0.0.5
|
#include <xoreositex.h>


Public Member Functions | |
| XEOSITEX (Common::SeekableReadStream &xeositex) | |
| ~XEOSITEX () | |
Public Member Functions inherited from Graphics::ImageDecoder | |
| ImageDecoder () | |
| ImageDecoder (const ImageDecoder &image) | |
| virtual | ~ImageDecoder () |
| ImageDecoder & | operator= (const ImageDecoder &image) |
| bool | isCompressed () const |
| Is the image data compressed? More... | |
| bool | hasAlpha () const |
| Does the image data have alpha? . More... | |
| PixelFormat | getFormat () const |
| Return the image data's general format. More... | |
| PixelFormatRaw | getFormatRaw () const |
| Return the image data's raw format. More... | |
| PixelDataType | getDataType () const |
| Return the image data pixel's type. More... | |
| size_t | getMipMapCount () const |
| Return the number of mip maps contained in the image. More... | |
| size_t | getLayerCount () const |
| Return the number of layers contained in the image. More... | |
| bool | isCubeMap () const |
| Is this image a cube map? More... | |
| const MipMap & | getMipMap (size_t mipMap, size_t layer=0) const |
| Return a mip map. More... | |
| void | decompress () |
| Manually decompress the texture image data. More... | |
| const TXI & | getTXI () const |
| Return the texture information TXI, which may be embedded in the image. More... | |
| bool | dumpTGA (const Common::UString &fileName) const |
| Dump the image into a TGA. More... | |
Private Member Functions | |
| void | load (Common::SeekableReadStream &xeositex) |
| void | readHeader (Common::SeekableReadStream &xeositex) |
| void | readMipMaps (Common::SeekableReadStream &xeositex) |
Private Attributes | |
| bool | _wrapX |
| bool | _wrapY |
| bool | _flipX |
| bool | _flipY |
| uint8 | _coordTransform |
Additional Inherited Members | |
Protected Types inherited from Graphics::ImageDecoder | |
| typedef Common::PtrVector< MipMap > | MipMaps |
Static Protected Member Functions inherited from Graphics::ImageDecoder | |
| static void | decompress (MipMap &out, const MipMap &in, PixelFormatRaw format) |
Protected Attributes inherited from Graphics::ImageDecoder | |
| bool | _compressed |
| bool | _hasAlpha |
| PixelFormat | _format |
| PixelFormatRaw | _formatRaw |
| PixelDataType | _dataType |
| size_t | _layerCount |
| Number of layers in this image. More... | |
| bool | _isCubeMap |
| Is this image a cube map? A cube map always needs to have 6 layers! More... | |
| MipMaps | _mipMaps |
| TXI | _txi |
Definition at line 37 of file xoreositex.h.
| Graphics::XEOSITEX::XEOSITEX | ( | Common::SeekableReadStream & | xeositex | ) |
Definition at line 38 of file xoreositex.cpp.
References load().

| Graphics::XEOSITEX::~XEOSITEX | ( | ) |
Definition at line 42 of file xoreositex.cpp.
|
private |
Definition at line 45 of file xoreositex.cpp.
References Common::StackException::add(), readHeader(), and readMipMaps().
Referenced by XEOSITEX().


|
private |
Definition at line 57 of file xoreositex.cpp.
References _coordTransform, Graphics::ImageDecoder::_dataType, _flipX, _flipY, Graphics::ImageDecoder::_format, Graphics::ImageDecoder::_formatRaw, Graphics::ImageDecoder::_hasAlpha, Graphics::ImageDecoder::_mipMaps, Graphics::ImageDecoder::_txi, _wrapX, _wrapY, Common::debugTag(), Graphics::TXI::Features::filter, Graphics::TXI::getFeatures(), kITEXID, Graphics::kPixelDataType8, Graphics::kPixelFormatBGR, Graphics::kPixelFormatBGRA, Graphics::kPixelFormatRGB8, Graphics::kPixelFormatRGBA8, kXEOSID, Common::ReadStream::readByte(), Common::ReadStream::readUint32BE(), Common::ReadStream::readUint32LE(), and Common::PtrVector< T, Deallocator >::resize().
Referenced by load().


|
private |
Definition at line 97 of file xoreositex.cpp.
References Graphics::ImageDecoder::_mipMaps, Common::kReadError, Common::ReadStream::read(), and Common::ReadStream::readUint32LE().
Referenced by load().


|
private |
Definition at line 48 of file xoreositex.h.
Referenced by readHeader().
|
private |
Definition at line 45 of file xoreositex.h.
Referenced by readHeader().
|
private |
Definition at line 46 of file xoreositex.h.
Referenced by readHeader().
|
private |
Definition at line 43 of file xoreositex.h.
Referenced by readHeader().
|
private |
Definition at line 44 of file xoreositex.h.
Referenced by readHeader().
1.8.14