---
title: device
framework: realitykit
role: symbol
role_heading: Instance Property
path: realitykit/arview/postprocesscontext/device
---

# device

The Metal device where the scene renders.

## Declaration

```swift
var device: any MTLDevice
```

## Mentioned in

Using Metal performance shaders to create custom postprocess effects
