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

# gpuResourceID

A handle that represents the GPU resource, which you can store in an argument buffer.

## Declaration

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