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

# gpuResourceID

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

## Declaration

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

## Mentioned in

Improving CPU performance by using argument buffers

## See Also

### Identifying a pipeline state

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