<!--
{
  "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" : "MetalKit",
  "identifier" : "/documentation/MetalKit/MTKMeshBuffer",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "MetalKit"
    ],
    "preciseIdentifier" : "c:objc(cs)MTKMeshBuffer"
  },
  "title" : "MTKMeshBuffer"
}
-->

# MTKMeshBuffer

A buffer that backs the vertex data of a Model I/O mesh, suitable for use in a Metal app.

```
class MTKMeshBuffer
```

## Topics

### Originating Objects

[`allocator`](/documentation/MetalKit/MTKMeshBuffer/allocator)

The allocator object used to create this mesh buffer.

[`zone`](/documentation/MetalKit/MTKMeshBuffer/zone)

The zone, if any, from which this mesh buffer was created.

[`type`](/documentation/MetalKit/MTKMeshBuffer/type)

The type of data contained in the originating Model I/O buffer.

### Metal Buffer Properties

[`buffer`](/documentation/MetalKit/MTKMeshBuffer/buffer)

The Metal buffer backing all vertex and index data.

[`length`](/documentation/MetalKit/MTKMeshBuffer/length)

The logical size of the Metal buffer, in bytes.

[`offset`](/documentation/MetalKit/MTKMeshBuffer/offset)

The byte offset of the data within the Metal buffer.

### Instance Methods

[`zone()`](/documentation/MetalKit/MTKMeshBuffer/zone())



---

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)