Contents

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.