HDK
|
#include <UT/UT_StringArray.h>
#include <UT/UT_StringHolder.h>
#include "pxr/pxr.h"
#include "pxr/usd/usdGeom/tokens.h"
#include "gusd/api.h"
Go to the source code of this file.
Enumerations | |
enum | GusdPurposeSet { GUSD_PURPOSE_NONE = 0x00, GUSD_PURPOSE_DEFAULT = 0x01, GUSD_PURPOSE_PROXY = 0x02, GUSD_PURPOSE_RENDER = 0x04, GUSD_PURPOSE_GUIDE = 0x08 } |
Functions | |
GUSD_API GusdPurposeSet | GusdPurposeSetFromName (const UT_StringRef &name) |
GUSD_API GusdPurposeSet | GusdPurposeSetFromName (const TfToken &name) |
GUSD_API bool | GusdPurposeInSet (const TfToken &name, GusdPurposeSet set) |
GUSD_API TfTokenVector | GusdPurposeSetToTokens (GusdPurposeSet purposes) |
Extract an array of tokens for purposes. More... | |
GUSD_API UT_StringArray | GusdPurposeSetToStrings (GusdPurposeSet purposes) |
Extract an array of strings for purposes. More... | |
GUSD_API GusdPurposeSet | GusdPurposeSetFromMask (const char *mask) |
Return a purpose set from a string providing a mask of purposes. More... | |
GUSD_API GusdPurposeSet | GusdPurposeSetFromArray (const UT_StringArray &purposes) |
GUSD_API GusdPurposeSet | GusdPurposeSetFromArray (const TfTokenVector &purposes) |
enum GusdPurposeSet |
|
inline |
GUSD_API GusdPurposeSet GusdPurposeSetFromArray | ( | const UT_StringArray & | purposes | ) |
Create a purpose set from an array of purpose strings.
GUSD_API GusdPurposeSet GusdPurposeSetFromArray | ( | const TfTokenVector & | purposes | ) |
Create a purpose set from an array of purpose strings.
GUSD_API GusdPurposeSet GusdPurposeSetFromMask | ( | const char * | mask | ) |
Return a purpose set from a string providing a mask of purposes.
|
inline |
|
inline |
GUSD_API UT_StringArray GusdPurposeSetToStrings | ( | GusdPurposeSet | purposes | ) |
Extract an array of strings for purposes.
GUSD_API TfTokenVector GusdPurposeSetToTokens | ( | GusdPurposeSet | purposes | ) |
Extract an array of tokens for purposes.