getValidPrimName#

Fully qualified name: usdex::core::getValidPrimName

pxr::TfToken usdex::core::getValidPrimName(const std::string &name)#

Produce a valid prim name from the input name.

This is a lossless encoding algorithm that supports all UTF-8 code set (even control characters).

Parameters:

name – The input name

Returns:

A string that is considered valid for use as a prim name.