Difference between revisions of "Filter Mode"

From PowerUI
Jump to: navigation, search
(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 |...")
(No difference)

Revision as of 18:52, 13 January 2017

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.