Filter Mode

From PowerUI
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.