Function: serializeMaterialX()
serializeMaterialX(
document):string
Serializes a MaterialXDocument back to XML text. The inverse of parseMaterialX; a parse → serialize → parse round trip yields the same document.
Parameters
document
Returns
string