layer
The layer that owns this drawable object.
Declaration
var layer: CAMetalLayer { get }Discussion
When you present the drawable object, it becomes the owning layer’s content.
The layer that owns this drawable object.
var layer: CAMetalLayer { get }When you present the drawable object, it becomes the owning layer’s content.