<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLStorageMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@E@MTLStorageMode"
  },
  "title" : "MTLStorageMode"
}
-->

# MTLStorageMode

Options for the memory location and access permissions for a resource.

```
enum MTLStorageMode
```

## Overview

For more guidance on how to choose storage modes, see [Setting resource storage modes](/documentation/Metal/setting-resource-storage-modes).

## Topics

### Storage mode options

[`MTLStorageMode.shared`](/documentation/Metal/MTLStorageMode/shared)

The CPU and GPU share access to the resource, allocated in system memory.

[`MTLStorageMode.managed`](/documentation/Metal/MTLStorageMode/managed)

The CPU and GPU may maintain separate copies of the resource, and any changes need to be explicitly synchronized.

[`MTLStorageMode.private`](/documentation/Metal/MTLStorageMode/private)

The resource is only available to the GPU.

[`MTLStorageMode.memoryless`](/documentation/Metal/MTLStorageMode/memoryless)

The resource’s contents are only available to the GPU, and only exist temporarily during a render pass.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)