I am following libgdx tutuorial on texture atlases. This is an excerpt from a texture atlas file. What is the meaning of index
parameter and in what situations it is useful to the programmer? All texture region have it and it is the same namely -1, in all of them.
prehistoric.png
format: RGBA8888
filter: Nearest,Nearest
repeat: none
background
rotate: false
xy: 2, 2
size: 1280, 720
orig: 1280, 720
offset: 0, 0
index: -1
trex
rotate: false
xy: 1286, 479
size: 179, 243
orig: 179, 243
offset: 0, 0
index: -1
caveman
rotate: false
xy: 1286, 319
size: 83, 156
orig: 83, 156
offset: 0, 0
index: -1