apple-cf 0.9.0

Safe Rust bindings for Apple's shared Core* frameworks (CoreFoundation, CoreMedia, CoreVideo, CoreGraphics, IOSurface, Dispatch).
Documentation
1
2
3
4
5
6
7
use apple_cf::cv::CVMetalTextureCache;

fn main() {
    if let Some(cache) = CVMetalTextureCache::system_default() {
        cache.flush();
    }
}