Instance Property


The number of vertices in the mesh.


@property(nonatomic, readwrite) NSUInteger vertexCount;


To determine the total data size of a vertex buffer, multiply this value by the stride property of the corresponding layout in the mesh’s vertexDescriptor object.

See Also

Working with Vertex Data


The minimum region entirely enclosing the mesh’s vertex positions, expressed in the model coordinate system of the mesh.


The array of submeshes to be used in rendering the mesh.


The array of buffers that provide vertex data for the mesh.


A description of the format and layout of the mesh’s vertex buffers.

- addAttributeWithName:format:

Adds a vertex attribute to the mesh and creates a new, empty corresponding vertex buffer.

- vertexAttributeDataForAttributeNamed:

Returns the vertex data for the specified attribute.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software