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.

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