Filter Mode

From PowerUI
Revision as of 18:54, 13 January 2017 by 151.229.186.156 (talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

If you'd like to control the filter mode of a particular image, PowerUI contains a CSS property to help out:

filter-mode: bilinear | trilinear | point
Inherited? Initial value
No point

For example:

<img src='hello.png' style='filter-mode: bilinear'>

Note that if it's not "point", then your image will cause an additional drawcall as it will be separated from the image atlas.