---
title: wasAdded
framework: metal
role: symbol
role_heading: Type Property
path: metal/mtldevicenotificationname/wasadded
---

# wasAdded

A notification that Metal sends to observers when the system adds a GPU device.

## Declaration

```swift
static let wasAdded: MTLDeviceNotificationName
```

## Mentioned in

Handling external GPU additions and removals

## See Also

### Creating a notification name

- [removalRequested](metal/mtldevicenotificationname/removalrequested.md)
- [wasRemoved](metal/mtldevicenotificationname/wasremoved.md)
- [init(rawValue:)](metal/mtldevicenotificationname/init(rawvalue:).md)
