HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UsdProcTokensType Class Reference

#include <tokens.h>

Public Member Functions

USDPROC_API UsdProcTokensType ()
 

Public Attributes

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

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);

Definition at line 63 of file tokens.h.

Constructor & Destructor Documentation

USDPROC_API UsdProcTokensType::UsdProcTokensType ( )

Member Data Documentation

const std::vector<TfToken> UsdProcTokensType::allTokens

A vector of all of the tokens listed above.

Definition at line 74 of file tokens.h.

const TfToken UsdProcTokensType::GenerativeProcedural

"GenerativeProcedural"

Schema identifer and family for UsdProcGenerativeProcedural

Definition at line 72 of file tokens.h.

const TfToken UsdProcTokensType::proceduralSystem

"proceduralSystem"

UsdProcGenerativeProcedural

Definition at line 68 of file tokens.h.


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