1 2 3 4 5 6 7
use apple_cf::cv::CVMetalTextureCache; fn main() { if let Some(cache) = CVMetalTextureCache::system_default() { cache.flush(); } }