Filter Mode

From PowerUI
Revision as of 18:52, 13 January 2017 by 151.229.186.156 (talk) (Created page with "If you'd like to control the filter mode of a particular image, PowerUI contains a CSS property to help out: <syntaxhighlight lang="css"> filter-mode: bilinear | trilinear |...")
(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

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.