Contents

name

An identifier for the semantic use of the vertex attribute.

Declaration

var name: String { get set }

Discussion

Depending on the source of data for a mesh—that is, which file format it was loaded from in a MDLAsset object, or whether it was programmatically created—a vertex attribute’s name can be either one of the constants listed in Vertex Attributes or an identifier specific to the file format.

See Also

Inspecting a Vertex Attribute