Added Image:isCompressed()

--HG--
branch : image-CompressedData
This commit is contained in:
Alex Szpakowski
2013-04-07 23:11:11 -03:00
parent 7403245715
commit 299ee64320
4 changed files with 28 additions and 8 deletions
+7 -1
View File
@@ -115,6 +115,11 @@ public:
void setMipmapSharpness(float sharpness);
float getMipmapSharpness() const;
/**
* Whether this Image is using a compressed texture (via CompressedData).
**/
bool isCompressed() const;
void bind() const;
bool load();
@@ -170,7 +175,8 @@ private:
// True if mipmaps have been created for this Image.
bool mipmapsCreated;
bool isCompressed;
// Whether this Image is using a compressed texture.
bool compressed;
// The image's filter mode
Image::Filter filter;