mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Reworked internal anisotropic filtering code to be more concise and intuitive
This commit is contained in:
@@ -104,9 +104,6 @@ public:
|
||||
|
||||
const Image::Wrap &getWrap() const;
|
||||
|
||||
void setAnisotropy(float anisotropy);
|
||||
float getAnisotropy() const;
|
||||
|
||||
void setMipmapSharpness(float sharpness);
|
||||
float getMipmapSharpness() const;
|
||||
|
||||
@@ -124,8 +121,6 @@ public:
|
||||
static void setDefaultMipmapFilter(FilterMode f);
|
||||
static FilterMode getDefaultMipmapFilter();
|
||||
|
||||
static float getMaxAnisotropy();
|
||||
|
||||
static bool hasNpot();
|
||||
static bool hasAnisotropicFilteringSupport();
|
||||
static bool hasMipmapSupport();
|
||||
@@ -158,9 +153,6 @@ private:
|
||||
// True if mipmaps have been created for this Image.
|
||||
bool mipmapsCreated;
|
||||
|
||||
// Anisotropic filtering value.
|
||||
float anisotropy;
|
||||
|
||||
// The image's filter mode
|
||||
Image::Filter filter;
|
||||
|
||||
@@ -173,7 +165,6 @@ private:
|
||||
void checkMipmapsCreated();
|
||||
|
||||
static float maxMipmapSharpness;
|
||||
static float maxAnisotropy;
|
||||
|
||||
static FilterMode defaultMipmapFilter;
|
||||
static float defaultMipmapSharpness;
|
||||
|
||||
Reference in New Issue
Block a user