Allow access to the compressed data if the user promises not to change it.

This commit is contained in:
Pavel Krajcevski 2014-01-23 18:23:55 -05:00
parent 95e86cbf0d
commit 553dc44ca5

View file

@ -94,6 +94,8 @@ class CompressedImage : public FasTC::Image<FasTC::Pixel> {
// size for a given compressed image. // size for a given compressed image.
bool DecompressImage(uint8 *outBuf, uint32 outBufSz) const; bool DecompressImage(uint8 *outBuf, uint32 outBufSz) const;
const uint8 *GetCompressedData() const { return m_CompressedData; }
FasTC::ECompressionFormat GetFormat() const { return m_Format; } FasTC::ECompressionFormat GetFormat() const { return m_Format; }
}; };