Contents

CVDisplayLinkGetCurrentCGDisplay(_:)

Gets the current display associated with a display link.

Declaration

func CVDisplayLinkGetCurrentCGDisplay(_ displayLink: CVDisplayLink) -> CGDirectDisplayID

Parameters

  • displayLink:

    The display link whose current display you want to obtain.

Return Value

An identifier representing the current display. For more information on the display identifier type, see CGDirectDisplayID.

See Also

Inspecting Display Links