Contents

targetTimestamp

A deadline that indicates when your app needs to finish rendering to the drawable.

Declaration

var targetTimestamp: CFTimeInterval { get }

Discussion

Your app needs to call the drawable instance’s present() method before the deadline. GPU rendering can continue after this time, based on preferredFrameLatency. For more information on timing your app’s rendering, see metalDisplayLink(_:needsUpdate:).

See Also

Drawing the Next Frame