Type Alias

MTLDrawablePresentedHandler

A block of code invoked after a drawable is presented.

Declaration

typealias MTLDrawablePresentedHandler = (MTLDrawable) -> Void

See Also

Getting Presentation Information

func addPresentedHandler(MTLDrawablePresentedHandler)

Registers a block of code to be called immediately after the drawable is presented.

Required.

var presentedTime: CFTimeInterval

The host time, in seconds, when the drawable was displayed onscreen.

Required.