added texture id (allow easy sortByTexture)