Function CVDisplayLinkCreateWithActiveCGDisplays

Source
pub unsafe extern "C-unwind" fn CVDisplayLinkCreateWithActiveCGDisplays(
    display_link_out: NonNull<*mut CVDisplayLink>,
) -> CVReturn
👎Deprecated: use NSView.displayLink(target:selector:), NSWindow.displayLink(target:selector:), or NSScreen.displayLink(target:selector:)
Available on crate features CVDisplayLink and CVReturn only.
Expand description

Convenience function to create a CVDisplayLink capable of being used with all active CGDisplays

Parameter displayLinkOut: The newly created CVDisplayLink

Returns: kCVReturnSuccess if the device was created, or failure