开发者

What's the best way to programmatically detect the iPad 2's graphics hardware?

开发者 https://www.devze.com 2023-02-20 09:37 出处:网络
My app needs to run different code (larger textures) on iPad 2. How should I p开发者_C百科rogrammatically detect faster graphics hardware?

My app needs to run different code (larger textures) on iPad 2. How should I p开发者_C百科rogrammatically detect faster graphics hardware?

The code should be future-proof (i.e. it would detect faster graphics hardware on iPad 3 or any other future iOS devices that have it).


Maybe you can just go with the framerate, if it drops too much, go for the smaller textures, if it is way above 100 fps, take the bigger ones.

0

精彩评论

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