---
title: type
framework: modelio
role: symbol
role_heading: Instance Property
path: modelio/mdlmeshbuffer/type
---

# type

The type of data contained in a buffer.

## Declaration

```swift
var type: MDLMeshBufferType { get }
```

## Discussion

Discussion A buffer can contain per-vertex data for one or more vertex attributes of a MDLMesh object (MDLMeshBufferType.vertex), or index data for a MDLSubmesh object (MDLMeshBufferType.index).

## See Also

### Inspecting a Buffer

- [allocator](modelio/mdlmeshbuffer/allocator.md)
- [zone](modelio/mdlmeshbuffer/zone.md)
