Loading...
Searching...
No Matches
UsdProfilesTokensType Class Reference

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

#include <tokens.h>

Public Attributes

const TfToken enhancement
 "enhancement"
 
const TfToken hard
 "hard"
 
const TfToken soft
 "soft"
 
const TfToken ClaimsAPI
 "ClaimsAPI"
 
const std::vector< TfTokenallTokens
 A vector of all of the tokens listed above.
 

Detailed Description

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

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

gprim.GetMyTokenValuedAttr().Set(UsdProfilesTokens->enhancement);

Definition at line 46 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 65 of file tokens.h.

◆ ClaimsAPI

const TfToken ClaimsAPI

"ClaimsAPI"

Schema identifer and family for UsdProfilesClaimsAPI

Definition at line 63 of file tokens.h.

◆ enhancement

const TfToken enhancement

"enhancement"

Degradation class: capability improves quality but absence is allowable.

Definition at line 51 of file tokens.h.

◆ hard

const TfToken hard

"hard"

Degradation class: capability is load-bearing; absence produces incorrect results.

Definition at line 55 of file tokens.h.

◆ soft

const TfToken soft

"soft"

Degradation class: capability degrades gracefully if absent.

Definition at line 59 of file tokens.h.


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