Instance Property

name

A descriptive name for the material property.

Declaration

var name: String { get set }

Discussion

A material property’s name is not used for rendering, but it can be useful in debugging. Model Model I/O may set a material property’s name to a format-specific value when loading materials from an MDLAsset object.

See Also

Using a Material Property

var semantic: MDLMaterialSemantic

The semantic meaning for the material property’s value.

var type: MDLMaterialPropertyType

The data type stored in the material property’s value.

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