使用两个纹理的非幂的性能损失

发布于 2024-12-29 13:46:34 字数 105 浏览 1 评论 0原文

在iOS下使用非二次方纹理是否有性能损失?我没有注意到任何快速基准测试。通过将它们全部转储在一起,我可以节省相当多的活动内存,因为有很多浪费的填充(尽管有纹理打包)。我不关心无法使用它们的旧硬件。

Is there any performance loss for using non-power-of-two textures under iOS? I have not noticed any my in quick benchmarks. I can save quite a bit of active memory by dumping them all together since there is a lot of wasted padding (despite texture packing). I don't care about the older hardware that can't use them.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

国际总奸 2025-01-05 13:46:34

根据具体情况和您的特定设备,这可能会有很大差异。在 iOS 上,如果您使用 NEAREST 过滤而不是 LINEAR,损失会更小,但一开始损失并不大(想想 5-10%)。

This can vary widely depending on the circumstances and your particular device. On iOS, the loss is smaller if you use NEAREST filtering rather than LINEAR, but it isn't huge to begin with (think 5-10%).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文