Contents

MDLVertexAttribute

A description of the format of per-vertex data for a single vertex attribute in a mesh object.

Declaration

class MDLVertexAttribute

Overview

The vertex buffers of a MDLMesh object store vertex attributes—such as vertex position, surface normal vector, or texture coordinates—that define its 3D shape and other data for use in rendering. Attribute information describes the structure and layout of that data. A collection of vertex attribute objects and additional information forms a MDLVertexDescriptor object, which completely describes the layout of vertex buffers for a mesh.

Topics

Creating a Vertex Attribute

Inspecting a Vertex Attribute

Constants

Instance Properties

See Also

Managing Mesh Data