UsdMtlxTokens provides static, efficient TfTokens for use in all public USD API.
These tokens are auto-generated from the module's schema, representing property names, for when you need to fetch an attribute or relationship directly by name, e.g. UsdPrim::GetAttribute(), in the most efficient manner, and allow the compiler to verify that you spelled the name correctly.
UsdMtlxTokens also contains all of the allowedTokens values declared for schema builtin attributes of 'token' scene description type. Use UsdMtlxTokens like so:
gprim.GetMyTokenValuedAttr().Set(
UsdMtlxTokens->configMtlxVersion);
Definition at line 46 of file tokens.h.