<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/CAMetalDisplayLinkDelegate",
  "metadataVersion" : "0.1.0",
  "role" : "Protocol",
  "symbol" : {
    "kind" : "Protocol",
    "modules" : [
      "Core Animation"
    ],
    "preciseIdentifier" : "c:objc(pl)CAMetalDisplayLinkDelegate"
  },
  "title" : "CAMetalDisplayLinkDelegate"
}
-->

# CAMetalDisplayLinkDelegate

A protocol your app implements to respond to callbacks from Core Animation for a Metal display link.

```
protocol CAMetalDisplayLinkDelegate
```

## Overview

Your app responds to the system on behalf of a [`CAMetalDisplayLink`](/documentation/QuartzCore/CAMetalDisplayLink) with this protocol. Implement a type that adopts the protocol and assign an instance of it to a display link’s [`delegate`](/documentation/QuartzCore/CAMetalDisplayLink/delegate) property.

## Topics

### Receiving Display Updates

[`metalDisplayLink(_:needsUpdate:)`](/documentation/QuartzCore/CAMetalDisplayLinkDelegate/metalDisplayLink(_:needsUpdate:))

A method the system calls to notify your app when it plans to update the display.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)