---
title: isHeadless
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtldevice/isheadless
---

# isHeadless

A Boolean value that indicates whether a GPU device doesn’t have a connection to a display.

## Declaration

```swift
var isHeadless: Bool { get }
```

## Mentioned in

Finding multiple GPUs on an Intel-based Mac

## Discussion

Discussion The value is true when the GPU is headless, which means it isn’t connected to any displays.

## See Also

### Identifying a GPU device

- [name](metal/mtldevice/name.md)
- [architecture](metal/mtldevice/architecture.md)
- [MTLArchitecture](metal/mtlarchitecture.md)
- [registryID](metal/mtldevice/registryid.md)
- [location](metal/mtldevice/location.md)
- [MTLDeviceLocation](metal/mtldevicelocation.md)
- [locationNumber](metal/mtldevice/locationnumber.md)
- [isLowPower](metal/mtldevice/islowpower.md)
- [isRemovable](metal/mtldevice/isremovable.md)
- [peerGroupID](metal/mtldevice/peergroupid.md)
- [peerCount](metal/mtldevice/peercount.md)
- [peerIndex](metal/mtldevice/peerindex.md)
