Instance Property


A descriptive name for the material.


var name: String { get set }


This name is not 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.