Mount Fuji Engine  0.8b
MF_API int MFMaterial_Release ( MFMaterial pMaterial)

Release a reference to an MFMaterial and destroy when the reference count reaches 0.

Parameters
pMaterialMaterial instance to destroy.
Returns
The new number of references to the material. If 0 is returned, there are no more instances and the material will be destroyed.