---
title: bufferOffset
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtltensor/bufferoffset
---

# bufferOffset

An offset, in bytes, into the buffer instance this tensor shares its storage with, or zero if this tensor does not wrap an underlying buffer.

## Declaration

```swift
var bufferOffset: Int { get }
```
