Retrieves the current (“now”) time of a given display link.
- macOS 10.4+
- Core Video
The display link whose current time you want to obtain.
A pointer to a
CVTimestructure. Note that you must set the version in the structure (currently 0) before calling to indicate which version of the timestamp structure you want.
A Core Video result code. See Core Video Constants for possible values.
You use this call to obtain the timestamp of the frame that is currently being displayed.