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

# gpuResourceID

## Declaration

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

## Discussion

Discussion Handle of the GPU resource suitable for storing in an Argument Buffer
