Libgdx - Textures
If I create a texture of .PNG 1024 x 1024 and draw a circle in the middle that is 124 x 124, around it would be empty, does it use the same amount of RAM as if I would draw a circl
Solution 1:
Transparency has nothing to do with RAM usage - it depends on how big in decoded image it means that for picture 16x16
it will need 4 times more memory than for 8x8
no matter if it is transparent or not
Second thing is that by using pictures like this you will impact rendering performance because renderer will need to "iterate" over all pixels - also these transparent
Post a Comment for "Libgdx - Textures"