MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / _typeToName

Function _typeToName

python/MaterialX/main.py:270–273  ·  view source on GitHub ↗

(Deprecated) Return the MaterialX type string associated with the given Python type.

(t)

Source from the content-addressed store, hash-verified

268#
269
270def _typeToName(t):
271 "(Deprecated) Return the MaterialX type string associated with the given Python type."
272 warnings.warn("This function is deprecated; call MaterialX.getTypeString instead.", DeprecationWarning, stacklevel = 2)
273 return getTypeString(t())
274
275def _valueToString(value):
276 "(Deprecated) Convert a Python value to its corresponding MaterialX value string."

Callers

nothing calls this directly

Calls 1

getTypeStringFunction · 0.85

Tested by

no test coverage detected