pub unsafe extern "C-unwind" fn CVDisplayLinkCreateWithOpenGLDisplayMask(
mask: CGOpenGLDisplayMask,
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 from an OpenGL display mask.
Use this call to create a CVDisplayLink for a CGOpenGLDisplayMask.
Parameter mask: CGOpenGLDisplayMask describing the display
Parameter displayLinkOut: The new display link will be returned here
Returns: returns kCVReturnSuccess on success.