Contents

MDLVertexAttributeData

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

Declaration

class MDLVertexAttributeData

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

Instance Properties

See Also

Managing Mesh Data