setProperties(_:)
Sets the material property’s attributes to those of the specified material property.
Declaration
func setProperties(_ property: MDLMaterialProperty)Parameters
- property:
The material property from which to copy data.
Discussion
Use this method to copy data from one MDLMaterialProperty instance to another—for example, to make one material property of a MDLScatteringFunction object match the value of another.