Added onTextureLoaded.