mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Font objects now have mipmap filter and mipmap sharpness support
This commit is contained in:
@@ -127,7 +127,10 @@ public:
|
||||
float getSpacing() const;
|
||||
|
||||
void setFilter(const Image::Filter &f);
|
||||
Image::Filter getFilter();
|
||||
const Image::Filter &getFilter();
|
||||
|
||||
void setMipmapSharpness(float sharpness);
|
||||
float getMipmapSharpness() const;
|
||||
|
||||
// Implements Volatile.
|
||||
bool loadVolatile();
|
||||
@@ -196,6 +199,14 @@ private:
|
||||
int texture_x, texture_y;
|
||||
int rowHeight;
|
||||
|
||||
// Mipmap texture LOD bias value
|
||||
float mipmapsharpness;
|
||||
|
||||
// Implementation-dependent maximum/minimum mipmap sharpness values
|
||||
float maxmipmapsharpness;
|
||||
|
||||
void checkMipmapsCreated() const;
|
||||
|
||||
bool initializeTexture(GLint format);
|
||||
void createTexture();
|
||||
Glyph *addGlyph(const int glyph);
|
||||
|
||||
Reference in New Issue
Block a user