mirror of
https://github.com/love2d/love.git
synced 2026-08-17 11:00:31 +02:00
Added anisotropic filtering functionality for images, consolidated mipmap methods into Image:setMipmapFilter(filtermode, sharpness, anisotropy), added love.graphics.setDefaultMipmapFilter(filtermode, sharpness, anisotropy)
This commit is contained in:
@@ -319,6 +319,12 @@ public:
|
||||
**/
|
||||
const Image::Filter &getDefaultImageFilter() const;
|
||||
|
||||
/**
|
||||
* Default Image mipmap filtermode, sharpness, and anisotropy values.
|
||||
**/
|
||||
void setDefaultMipmapFilter(Image::FilterMode filter, float sharpness, float anisotropy);
|
||||
void getDefaultMipmapFilter(Image::FilterMode *filter, float *sharpness, float *anisotropy) const;
|
||||
|
||||
/**
|
||||
* Sets the line width.
|
||||
* @param width The new width of the line.
|
||||
|
||||
Reference in New Issue
Block a user