mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Added Image:isCompressed()
--HG-- branch : image-CompressedData
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user