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

# MTLArgumentType

The resource type for an argument of a function.

```
enum MTLArgumentType
```

## Topics

### Argument types

[`MTLArgumentType.buffer`](/documentation/Metal/MTLArgumentType/buffer)

The argument is a buffer.

[`MTLArgumentType.threadgroupMemory`](/documentation/Metal/MTLArgumentType/threadgroupMemory)

The argument is a pointer to threadgroup memory.

[`MTLArgumentType.texture`](/documentation/Metal/MTLArgumentType/texture)

The argument is a texture.

[`MTLArgumentType.sampler`](/documentation/Metal/MTLArgumentType/sampler)

The argument is a texture sampler.

[`MTLArgumentType.imageblock`](/documentation/Metal/MTLArgumentType/imageblock)

The argument is an imageblock.

[`MTLArgumentType.imageblockData`](/documentation/Metal/MTLArgumentType/imageblockData)

The argument is imageblock data.

[`MTLArgumentType.visibleFunctionTable`](/documentation/Metal/MTLArgumentType/visibleFunctionTable)

The argument is a visible function table.

[`MTLArgumentType.intersectionFunctionTable`](/documentation/Metal/MTLArgumentType/intersectionFunctionTable)

The argument is an intersection function table.

[`MTLArgumentType.primitiveAccelerationStructure`](/documentation/Metal/MTLArgumentType/primitiveAccelerationStructure)

The argument is a bottom-level ray tracing acceleraton structure for a set of primitives.

[`MTLArgumentType.instanceAccelerationStructure`](/documentation/Metal/MTLArgumentType/instanceAccelerationStructure)

The argument is a top-level ray tracing acceleration structure for a set of instances.



---

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)