|
Gin
|
Post-processing of a MipMap's reduced levels, off by default. More...
#include <gin_mipmap.h>
Public Member Functions | |
| bool | operator== (const MipMapEnhance &other) const |
| bool | operator!= (const MipMapEnhance &other) const |
Public Attributes | |
| float | sharpen = 0.0f |
| Sharpens the levels of 128 px and below, which the box filter softens. | |
| float | saturation = 0.0f |
| Lifts the saturation of every level from the second halving on, against the grey that averaging dithered colours gives. | |
Post-processing of a MipMap's reduced levels, off by default.
1.0 is the strength tuned for small pixel-art thumbnails, higher values are allowed. Lives outside the class so it is complete when MipMap's default arguments need it.
| bool MipMapEnhance::operator== | ( | const MipMapEnhance & | other | ) | const |
References saturation, and sharpen.
Referenced by operator!=().
| bool MipMapEnhance::operator!= | ( | const MipMapEnhance & | other | ) | const |
References operator==().
| float MipMapEnhance::sharpen = 0.0f |
Sharpens the levels of 128 px and below, which the box filter softens.
Referenced by operator==().
| float MipMapEnhance::saturation = 0.0f |
Lifts the saturation of every level from the second halving on, against the grey that averaging dithered colours gives.
Referenced by operator==().