pub unsafe extern "C-unwind" fn CVDisplayLinkGetNominalOutputVideoRefreshPeriod(
display_link: &CVDisplayLink,
) -> CVTime👎Deprecated: use NSView.displayLink(target:selector:), NSWindow.displayLink(target:selector:), or NSScreen.displayLink(target:selector:)
Available on crate features
CVDisplayLink and CVBase only.Expand description
Retrieves the nominal refresh period of a CVDisplayLink.
This call allows one to retrieve the device’s “ideal” refresh period. For example, an NTSC output device might report 1001/60000 to represent the exact NTSC vertial refresh rate.
Parameter displayLink: The CVDisplayLink to get the refresh period from.
Returns: A CVTime struct that holds the nominal refresh period. This value may be indefinite.