fn generate_texture_key(image: &ImageInfo) -> u64
Returns a texture key for the given image.
If the key changes, we upload a new texture.