pub unsafe extern "C-unwind" fn CVDisplayLinkCreateWithCGDisplay(
display_id: CGDirectDisplayID,
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
CVReturn and objc2-core-graphics and CVDisplayLink only.Expand description
Convenience call to create a CVDisplayLink for a single CGDirectDisplay.
Use this call to create a CVDisplayLink for a single CGDirectDisplay.
Parameter displayID: CGDirectDisplayID of the target display
Parameter displayLinkOut: The new display link will be returned here
Returns: returns kCVReturnSuccess on success.