---
title: gpuResourceID
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtlrenderpipelinestate/gpuresourceid
---

# gpuResourceID

An unique identifier that represents the pipeline state, which you can add to an argument buffer.

## Declaration

```swift
var gpuResourceID: MTLResourceID { get }
```

## See Also

### Identifying a pipeline state

- [device](metal/mtlrenderpipelinestate/device.md)
- [label](metal/mtlrenderpipelinestate/label.md)
