CVDisplayLinkCreateWithCGDisplay(_:_:)
Creates a display link for a single display.
Declaration
func CVDisplayLinkCreateWithCGDisplay(_ displayID: CGDirectDisplayID, _ displayLinkOut: UnsafeMutablePointer<CVDisplayLink?>) -> CVReturnParameters
- displayID:
The Core Graphics ID of the target display.
- displayLinkOut:
On output,
displayLinkOutpoints to the newly created display link.
Return Value
A Core Video result code. See Core Video Constants for possible values.
Discussion
Use this call to create a display link for a single display. For more information on the display identifier type, see CGDirectDisplayID.