rewrote Jax.Texture