Loading...
Searching...
No Matches
UsdProcTokensType Class Reference

UsdProcTokens provides static, efficient TfTokens for use in all public USD API. More...

#include <tokens.h>

Public Attributes

const TfToken proceduralSystem
 "proceduralSystem"
 
const TfToken GenerativeProcedural
 "GenerativeProcedural"
 
const std::vector< TfTokenallTokens
 A vector of all of the tokens listed above.
 

Detailed Description

UsdProcTokens 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.

UsdProcTokens also contains all of the allowedTokens values declared for schema builtin attributes of 'token' scene description type. Use UsdProcTokens like so:

gprim.GetMyTokenValuedAttr().Set(UsdProcTokens->proceduralSystem);
USDPROC_API TfStaticData< UsdProcTokensType > UsdProcTokens
A global variable with static, efficient TfTokens for use in all public USD API.

Definition at line 63 of file tokens.h.

Member Data Documentation

◆ allTokens

const std::vector<TfToken> allTokens

A vector of all of the tokens listed above.

Definition at line 74 of file tokens.h.

◆ GenerativeProcedural

const TfToken GenerativeProcedural

"GenerativeProcedural"

Schema identifer and family for UsdProcGenerativeProcedural

Definition at line 72 of file tokens.h.

◆ proceduralSystem

const TfToken proceduralSystem

"proceduralSystem"

UsdProcGenerativeProcedural

Definition at line 68 of file tokens.h.


The documentation for this class was generated from the following file: