init(name:semantic:)
Initializes a material property without a value.
Declaration
init(name: String, semantic: MDLMaterialSemantic)Parameters
Return Value
A new material property object.
Discussion
The newly created material property’s value is empty, and its type property is MDLMaterialPropertyType.none. Use one of the properties listed in Working with a Material Property’s Value to provide a value for the material property.