Hi,
Is there anyway to pop out a warning (and stop image loading) before the texture memory is exceeded (which causes the app to crash) ?
In my app, i am allowing the user to select and load images (from the device’s photo gallery), and the selected images will appear on screen (full res). Each image will take 5MB to 20MB of texture memory (depending on the photo size). I used 'system.getInfo( “textureMemoryUsed” ) to check.
I guess I can make the images smaller, but I was hoping that a ‘limiter’ can be shown. If I know the memory is about to exceed, i could stop loading the image and then showing an alert/warning to the user.
Thanks