<!--
{
  "availability" : [
    "iOS: 8.0.0 - 17.0.0",
    "iPadOS: 8.0.0 - 17.0.0",
    "macCatalyst: 13.1.0 - 17.0.0",
    "macOS: 10.11.0 - 14.0.0",
    "tvOS: -",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "Metal",
  "identifier" : "/documentation/Metal/MTLArgumentAccess",
  "metadataVersion" : "0.1.0",
  "role" : "Type Alias",
  "symbol" : {
    "kind" : "Type Alias",
    "modules" : [
      "Metal"
    ],
    "preciseIdentifier" : "c:@T@MTLArgumentAccess"
  },
  "title" : "MTLArgumentAccess"
}
-->

# MTLArgumentAccess

Function access restrictions to argument data in the shading language code.

```
typealias MTLArgumentAccess = MTLBindingAccess
```

## Topics

### Specifying access options

[`MTLArgumentAccessReadOnly`](/documentation/Metal/MTLBindingAccess/MTLArgumentAccessReadOnly)

The function can only read its argument data.

[`MTLArgumentAccessWriteOnly`](/documentation/Metal/MTLBindingAccess/MTLArgumentAccessWriteOnly)

The function can only write its argument data.

[`MTLArgumentAccessReadWrite`](/documentation/Metal/MTLBindingAccess/MTLArgumentAccessReadWrite)

The function can either read or write its argument data.



---

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)