Hi. Is there an easy way to detect device CPU speed?. This would be very useful if I want to reduce the number of particles in a particle effects system for slower devices
. Would appreciate any help. Thank you!
Hi @latyl1,
There’s not any accurate way that I know of. One option which might help is to detect if the device supports “high precision fragment shaders”… those that don’t are typically older or very low-powered (GPU) so you could reduce your particle effects on devices lacking this GPU feature.
https://docs.coronalabs.com/api/library/system/getInfo.html#gpusupportshighprecisionfragmentshaders
Brent
Hi @latyl1,
There’s not any accurate way that I know of. One option which might help is to detect if the device supports “high precision fragment shaders”… those that don’t are typically older or very low-powered (GPU) so you could reduce your particle effects on devices lacking this GPU feature.
https://docs.coronalabs.com/api/library/system/getInfo.html#gpusupportshighprecisionfragmentshaders
Brent