init(metalLayer:)
Creates a display link for Metal from a Core Animation layer.
Declaration
init(metalLayer layer: CAMetalLayer)Parameters
- layer:
A Core Animation layer for Metal.
Creates a display link for Metal from a Core Animation layer.
init(metalLayer layer: CAMetalLayer)A Core Animation layer for Metal.