pub unsafe extern "C-unwind" fn CVDisplayLinkCreateWithCGDisplays(
display_array: NonNull<CGDirectDisplayID>,
count: CFIndex,
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
General call to create a CVDisplayLink
Use this call to create a CVDisplayLink for a set of displays indentified by the CGDirectDisplayIDs.
Parameter displayArray: array of CGDirectDisplayIDs
Parameter count: number of displays in the displayArray
Parameter displayLinkOut: The new display link will be returned here
Returns: returns kCVReturnSuccess on success.