pub type VmbFrameCallback = Option<unsafe extern "C" fn(cameraHandle: VmbHandle_t, streamHandle: VmbHandle_t, frame: *mut VmbFrame_t)>;Expand description
\brief Frame Callback type for a function that gets called in a separate thread if a frame has been queued with ::VmbCaptureFrameQueue.
\warning Any operations closing the stream including ::VmbShutdown and ::VmbCameraClose in addition to ::VmbCaptureEnd block until any currently active callbacks return. If the callback does not return in finite time, the program may not return.
\param[in] cameraHandle Handle of the camera the frame belongs to \param[in] streamHandle Handle of the stream the frame belongs to \param[in] frame The received frame
Aliased Type§
pub enum VmbFrameCallback {
None,
Some(unsafe extern "C" fn(*mut c_void, *mut c_void, *mut VmbFrame)),
}