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

# MTLIndexType

The index type for an index buffer that references vertices of geometric primitives.

```
enum MTLIndexType
```

## Topics

### Index types

[`MTLIndexType.uint16`](/documentation/Metal/MTLIndexType/uint16)

A 16-bit unsigned integer used as a primitive index.

[`MTLIndexType.uint32`](/documentation/Metal/MTLIndexType/uint32)

A 32-bit unsigned integer used as a primitive index.



---

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)