开发者

Has anybody got success in texture loading using a secondary thread on iphone?

开发者 https://www.devze.com 2023-01-03 06:29 出处:网络
I have been tryingimprove the performance of my game on iphone. Most of the cases, I do my all texture loading just before rendering the current开发者_如何学运维 frame. That makes big jerk in the fram

I have been trying improve the performance of my game on iphone. Most of the cases, I do my all texture loading just before rendering the current开发者_如何学运维 frame. That makes big jerk in the frame rate. Anybody tried loading texture in secondary thread or something like that?


Is there any specific reason why you load youre textures before every frame and not once for the whole scene?


My experience is that you need to load all textures before you kick off the game. The iPhone is a single cpu device so loading the textures in a separate thread will not help much.

0

精彩评论

暂无评论...
验证码 换一张
取 消