24 #ifndef __GUSD_PURPOSE_H__
25 #define __GUSD_PURPOSE_H__
115 #endif // __GUSD_PURPOSE_H__
GUSD_API GusdPurposeSet GusdPurposeSetFromMask(const char *mask)
Return a purpose set from a string providing a mask of purposes.
GUSD_API TfTokenVector GusdPurposeSetToTokens(GusdPurposeSet purposes)
Extract an array of tokens for purposes.
GUSD_API UT_StringArray GusdPurposeSetToStrings(GusdPurposeSet purposes)
Extract an array of strings for purposes.
std::vector< TfToken > TfTokenVector
Convenience types.
GLuint const GLchar * name
GUSD_API GusdPurposeSet GusdPurposeSetFromArray(const UT_StringArray &purposes)
USDGEOM_API TfStaticData< UsdGeomTokensType > UsdGeomTokens
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
GUSD_API bool GusdPurposeInSet(const TfToken &name, GusdPurposeSet set)
GUSD_API GusdPurposeSet GusdPurposeSetFromName(const UT_StringRef &name)