Skip to main content

cache_network_image

Function cache_network_image 

Source
pub fn cache_network_image(url: &str, buffer: ImageBuffer)
Expand description

Inserts a decoded RGBA8 ImageBuffer into the thread-local network image cache under url.

ยงArguments

  • &str - Canonical resolved image URL or asset path.
  • ImageBuffer - Decoded RGBA8 image buffer.