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

# MDLMeshBufferType

Options for the content of a mesh buffer, used by the [`type`](/documentation/ModelIO/MDLMeshBuffer/type) property and by [`MDLMeshBufferAllocator`](/documentation/ModelIO/MDLMeshBufferAllocator) methods for creating buffers.

```
enum MDLMeshBufferType
```

## Topics

### Constants

[`MDLMeshBufferTypeVertex`](/documentation/ModelIO/MDLMeshBufferType/vertex)

The buffer contains per-vertex data for one or more vertex attributes of a [`MDLMesh`](/documentation/ModelIO/MDLMesh) object.

[`MDLMeshBufferTypeIndex`](/documentation/ModelIO/MDLMeshBufferType/index)

The buffer contains index data for a [`MDLSubmesh`](/documentation/ModelIO/MDLSubmesh) object.

## Relationships

### Conforms To

[`Sendable`](/documentation/Swift/Sendable)

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

---

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)