FMaterialResource::LegacySerialize

Serializes the material.