pub unsafe extern "C-unwind" fn CVDisplayLinkSetCurrentCGDisplay(
display_link: &CVDisplayLink,
display_id: CGDirectDisplayID,
) -> CVReturn👎Deprecated: use NSView.displayLink(target:selector:), NSWindow.displayLink(target:selector:), or NSScreen.displayLink(target:selector:)
Available on crate features
CVReturn and objc2-core-graphics and CVDisplayLink only.Expand description
Sets the current display of a DisplayLink
It is safe to call this with a running display link, but be aware that there will likely be a timestamp discontinuity in the video time stamp
Parameter displayLink: target CVDisplayLinkRef
Parameter displayID: target CGDirectDisplayID
Returns: CVReturn. kCVReturnSuccess if successfull.