Instance Property

layer

The layer that owns this drawable object.

Required.

Declaration

var layer: CAMetalLayer { get }

Discussion

When you present the drawable object, it becomes the owning layer’s content.