---
title: storageMode
framework: metal
role: symbol
role_heading: Instance Property
path: metal/mtltensordescriptor/storagemode
---

# storageMode

A value that configures the memory location and access permissions of tensors you create with this descriptor.

## Declaration

```swift
var storageMode: MTLStorageMode { get set }
```

## Discussion

Discussion The default value of this property defaults to MTLStorageMode.shared.
