name
A descriptive name for the material.
Declaration
var name: String { get set }Discussion
This name isn’t used in rendering, but it can be useful for debugging and organizing the materials used in a project. When you load materials from an asset file with the MDLAsset class, Model I/O uses names assigned in the asset file where supported by the file format.