Difference between revisions of "Filter Mode"
From PowerUI
(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 |...") |
|||
Line 6: | Line 6: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
+ | |||
+ | {| class="wikitable" | ||
+ | |- | ||
+ | ! Inherited? | ||
+ | ! Initial value | ||
+ | |- | ||
+ | | No | ||
+ | | point | ||
+ | |} | ||
For example: | For example: |
Latest revision as of 18:54, 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
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.