Changed image mipmap api: Image:setFilter now takes an optional third argument (mipmap filter mode), Image:get/setMipmapFilter is removed.

This commit is contained in:
Alexander Szpakowski
2013-01-02 04:21:22 -04:00
parent 2739ea561a
commit fda16e27cd
4 changed files with 29 additions and 74 deletions
+2 -1
View File
@@ -97,7 +97,7 @@ public:
/**
* Sets the filter mode.
*
* @param mode The filter mode.
* @param f The filter mode.
**/
void setFilter(const Image::Filter &f);
@@ -147,6 +147,7 @@ private:
// Mipmap texture LOD bias value
float mipmapsharpness;
// Implementation-dependent maximum/minimum sharpness values
float maxmipmapsharpness;
// The image's filter mode