Instance Property

drawableID

A positive integer that identifies the drawable.

Required.

Declaration

var drawableID: Int { get }

Discussion

The default starting value is 0 and it is incremented by 1 for each new drawable created from the same CAMetalLayer object.

See Also

Identifying the Drawable

var presentedTime: CFTimeInterval

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

Required.