UsdRiTokensType Class Reference

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

Public Attributes

const TfToken bspline
 "bspline" More...
 
const TfToken catmullRom
 "catmull-rom" More...
 
const TfToken constant
 "constant" More...
 
const TfToken interpolation
 "interpolation" More...
 
const TfToken linear
 "linear" More...
 
const TfToken outputsRiDisplacement
 "outputs:ri:displacement" More...
 
const TfToken outputsRiSurface
 "outputs:ri:surface" More...
 
const TfToken outputsRiVolume
 "outputs:ri:volume" More...
 
const TfToken positions
 "positions" More...
 
const TfToken renderContext
 "ri" More...
 
const TfToken spline
 "spline" More...
 
const TfToken values
 "values" More...
 
const std::vector< TfTokenallTokens
 A vector of all of the tokens listed above. More...
 

Detailed Description

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

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

gprim.GetMyTokenValuedAttr().Set(UsdRiTokens->bspline);

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 114 of file tokens.h.

◆ bspline

const TfToken bspline

"bspline"

UsdSplineAPI - BSpline spline interpolation

Definition at line 68 of file tokens.h.

◆ catmullRom

const TfToken catmullRom

"catmull-rom"

UsdSplineAPI - Catmull-Rom spline interpolation

Definition at line 72 of file tokens.h.

◆ constant

const TfToken constant

"constant"

UsdSplineAPI - Constant-value spline interpolation

Definition at line 76 of file tokens.h.

◆ interpolation

const TfToken interpolation

"interpolation"

UsdSplineAPI - Interpolation attribute name

Definition at line 80 of file tokens.h.

◆ linear

const TfToken linear

"linear"

UsdSplineAPI - Linear spline interpolation

Definition at line 84 of file tokens.h.

◆ outputsRiDisplacement

const TfToken outputsRiDisplacement

"outputs:ri:displacement"

UsdRiMaterialAPI

Definition at line 88 of file tokens.h.

◆ outputsRiSurface

const TfToken outputsRiSurface

"outputs:ri:surface"

UsdRiMaterialAPI

Definition at line 92 of file tokens.h.

◆ outputsRiVolume

const TfToken outputsRiVolume

"outputs:ri:volume"

UsdRiMaterialAPI

Definition at line 96 of file tokens.h.

◆ positions

const TfToken positions

"positions"

UsdSplineAPI - Positions attribute name

Definition at line 100 of file tokens.h.

◆ renderContext

const TfToken renderContext

"ri"

UsdShadeMaterial / Hydra render context token for UsdRi

Definition at line 104 of file tokens.h.

◆ spline

const TfToken spline

"spline"

UsdSplineAPI - Namespace for spline attributes

Definition at line 108 of file tokens.h.

◆ values

const TfToken values

"values"

UsdSplineAPI - values attribute name

Definition at line 112 of file tokens.h.


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