开发者

What's the best way to programmatically detect the iPad 2's 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜