---
title: MDLVertexAttributeData
framework: modelio
role: symbol
role_heading: Class
path: modelio/mdlvertexattributedata
---

# MDLVertexAttributeData

An object that provides convenience access to vertex data for a specific vertex attribute of a mesh.

## Declaration

```swift
class MDLVertexAttributeData
```

## Overview

Overview You retrieve a vertex attribute data object by calling the vertexAttributeData(forAttributeNamed:) method of a MDLMesh object, which is shorthand for looking up the the MDLMeshBuffer object corresponding to the named attribute and using the map() method to gain read-only access to its contents.

## Topics

### Accessing Data for a Vertex Attribute

- [dataStart](modelio/mdlvertexattributedata/datastart.md)
- [stride](modelio/mdlvertexattributedata/stride.md)
- [format](modelio/mdlvertexattributedata/format.md)

### Instance Properties

- [bufferSize](modelio/mdlvertexattributedata/buffersize.md)
- [map](modelio/mdlvertexattributedata/map.md)

## Relationships

### Inherits From

- [NSObject](objectivec/nsobject-swift.class.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Managing Mesh Data

- [MDLMeshBuffer](modelio/mdlmeshbuffer.md)
- [MDLMeshBufferAllocator](modelio/mdlmeshbufferallocator.md)
- [MDLMeshBufferData](modelio/mdlmeshbufferdata.md)
- [MDLMeshBufferDataAllocator](modelio/mdlmeshbufferdataallocator.md)
- [MDLMeshBufferMap](modelio/mdlmeshbuffermap.md)
- [MDLMeshBufferZone](modelio/mdlmeshbufferzone.md)
- [MDLMeshBufferZoneDefault](modelio/mdlmeshbufferzonedefault.md)
- [MDLVertexAttribute](modelio/mdlvertexattribute.md)
- [MDLVertexBufferLayout](modelio/mdlvertexbufferlayout.md)
- [MDLVertexDescriptor](modelio/mdlvertexdescriptor.md)
