FerroUI/ docs

Search guides, controls, Rust APIs, and XAML.

    GitHub ↗

    CameraProviderFactory

    type alias · ferroui-media-camera-controls · v0.5.0

    type CameraProviderFactory = dyn Fn(&dyn ICompositionGpuInterop) -> Result<(std::rc::Rc<dyn CameraProvider>, std::rc::Rc<dyn TextureFrameImporter>), CameraError>
    

    Recreates a camera provider/importer for the restored compositor. Capture the original shared frame budget when the native producer needs it.

    View source

    Availability

    Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.