使用两个纹理的非幂的性能损失
在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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
根据具体情况和您的特定设备,这可能会有很大差异。在 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 thanLINEAR
, but it isn't huge to begin with (think 5-10%).