---
title: userAnnotation
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlfunctionreflection/userannotation
---

# userAnnotation

The string passed to the user annotation attribute for this function. Null if no user annotation is present for this function.

## Declaration

```swift
var userAnnotation: String? { get }
```
