pub unsafe fn update_image(img: Image, content: &ImageData)
Only one update per frame is allowed for buffer and image resources