Author Topic: How to switch atlases in runtime for different devices/displays?  (Read 1479 times)

spry

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 1
    • View Profile
Maybe I've searched previous threads badly, but anyways here is my question:

Is there a way to select different atlases in runtime? E.g. I have 3 sets of atlases (HD, MD, LD - or hdpi, mdpi, ldpi if you wish). How to switch between them in runtime?
I know there is a way of manual loading texture and pointing atlas to it, but that needs to be done manually, and there are no callbacks to get notified when what atlas is needed (thus loading all textures will result extra high memory usage).

As far as I understand, NGUI has to such feature yet, so maybe it would be good idea to implement such support natively.

Thanks,
Alexey