Interface: MaterialXDocument
The in-memory form of a .mtlx file, mirroring its XML structure.
nodes and nodeGraphs are derived read-only snapshots; elements is the canonical tree that
serializeMaterialX writes back out.
Properties
attributes
attributes:
Record<string,string>
elements
elements:
MaterialXElement[]
nodeGraphs
readonlynodeGraphs: readonlyMaterialXNodeGraph[]
nodes
readonlynodes: readonlyMaterialXNode[]