- Home /
How to find out Android Device power at runtime?
Hello dear :).
Excuse me if the question was already answered, but I've not found the answer.
The problem: I have a GPU intensive water shader what runs well on High End Android devices, but runs slow on Low End devices. I'd like to find out what device is application is currently runs on and decide what water shader to use. Simple shader for weak devices, nice and complex shader for powerful devices.
Could you please point me out how to find out what device I'm running on at runtime? Thank you very much in advance :).
Answer by GerryM · Feb 09, 2013 at 02:07 PM
For starters you could check the SystemInfo, especially PixelFillrate (which unfortunately isn't supported on every device).
Furthermore, you could render a test scene at the start of your app and measure the performance (with something like System.Diagnostics.Stopwatch) and adjust your quality settings accordingly.
Also, you could dynamically change the quality settings according to your current frame rate.
Good luck!
Your answer
Follow this Question
Related Questions
How to open/resume android app from recently opened list, where we left lastly?? 1 Answer
Show device info such as resolution, OS, GPU, etc... 1 Answer
Support Ainol Novo 10 Hero II 0 Answers
Dim Screen but Don't Lock 0 Answers
OnTriggerEnter works on Unity Editor but not in android device? 1 Answer