Instance Method

removeProperty:

Removes the specified material property from the material.

Declaration

- (void)removeProperty:(MDLMaterialProperty *)property;

Parameters

property

The material property object to remove.

Discussion

This method has no effect if the specified material property is not contained in the material.

See Also

Working with Individual Material Properties

- propertyNamed:

Returns the material property with the specified name.

- propertyWithSemantic:

Returns the material property for the specified material semantic.

- setProperty:

Adds a new material property to or replaces an existing material property in the material.

- removeAllProperties

Removes all material properties from the material.