I need to know texel information of texture. My task is little bit complicated: for example I clicked on a monster. The mosnter is a sprite. So I need to know if I got right on to the monster. If monster is alone we could determine if we got on the monster by checking texel information. If specific texel is absolutely transparent then we can decide that we missed.(But task is little bit more complicated because one sprite can fully or party hide the monster and we should check all the sprites before we check the monster actually.
My question is simple: I can’t find anywhere where I could get texel info of specific texture?
Thanks in advance.