Instance Property


The semantic meaning for the material property’s value.


@property(nonatomic, assign) MDLMaterialSemantic semantic;


A material semantic determines how the material property’s value should be interpreted to produce a specific surface appearance in rendering. For example, the MDLMaterialSemanticBaseColor semantic defines the default color of each pixel on a rendered surface before shading effects are applied.

When Model I/O loads materials from an MDLAsset object, it automatically selects the appropriate standard semantics for the surface rendering descriptions in the asset file.

See Also

Using a Material Property


A descriptive name for the material property.


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