Forum Discussion
TheEndless
11 years agoRoku Guru
"EnTerr" wrote:
You mean ifRegion.SetScaleMode()? I am not using roRegions, so not directly applicable but thanks for letting me know about its existence. Looking at the folksy description
<REDACTED>
EDIT: My assertion here was entirely incorrect, so removed here to avoid confusion in the future.
"EnTerr" wrote:
now i wonder (question #2):
Is it trying to say that 0 does nearest-neighbor and 1 does bilinear interpolation?
(Source for my speculation, the unrelated ifTextureRequest.SetScaleMode)
Yes, I believe so. There's a much more obvious visual difference on 3.1 firmwares than on 5.x+, but there's a significant speed improvement when using a scale mode of 0 on both. Generally speaking, I use a scale mode of 0 for animations, and a scale mode of 1 for static drawing. If the source needs to be scaled (to the same size) on every frame, then it's best to cache it to a bitmap, so you only need to do the scaling once.