All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
UsdRiTokensType Class Reference

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

#include <tokens.h>

Public Attributes

const TfToken bspline
 "bspline"
 
const TfToken cameraVisibility
 "cameraVisibility"
 
const TfToken catmullRom
 "catmull-rom"
 
const TfToken collectionCameraVisibilityIncludeRoot
 "collection:cameraVisibility:includeRoot"
 
const TfToken constant
 "constant"
 
const TfToken interpolation
 "interpolation"
 
const TfToken linear
 "linear"
 
const TfToken matte
 "matte"
 
const TfToken outputsRiDisplacement
 "outputs:ri:displacement"
 
const TfToken outputsRiSurface
 "outputs:ri:surface"
 
const TfToken outputsRiVolume
 "outputs:ri:volume"
 
const TfToken positions
 "positions"
 
const TfToken renderContext
 "ri"
 
const TfToken spline
 "spline"
 
const TfToken values
 "values"
 
const TfToken RiMaterialAPI
 "RiMaterialAPI"
 
const TfToken RiRenderPassAPI
 "RiRenderPassAPI"
 
const TfToken RiSplineAPI
 "RiSplineAPI"
 
const TfToken StatementsAPI
 "StatementsAPI"
 
const std::vector< TfTokenallTokens
 A vector of all of the tokens listed above.
 

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);
USDRI_API TfStaticData< UsdRiTokensType > UsdRiTokens
A global variable with static, efficient TfTokens for use in all public USD API.

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

◆ bspline

const TfToken bspline

"bspline"

UsdSplineAPI - BSpline spline interpolation

Definition at line 51 of file tokens.h.

◆ cameraVisibility

const TfToken cameraVisibility

"cameraVisibility"

UsdRenderPassAPI - This token represents the collection name to use with UsdCollectionAPI to set the camera visibility attribute on the prims in the collection for the RenderPass.

Definition at line 55 of file tokens.h.

◆ catmullRom

const TfToken catmullRom

"catmull-rom"

UsdSplineAPI - Catmull-Rom spline interpolation

Definition at line 59 of file tokens.h.

◆ collectionCameraVisibilityIncludeRoot

const TfToken collectionCameraVisibilityIncludeRoot

"collection:cameraVisibility:includeRoot"

UsdRiRenderPassAPI

Definition at line 63 of file tokens.h.

◆ constant

const TfToken constant

"constant"

UsdSplineAPI - Constant-value spline interpolation

Definition at line 67 of file tokens.h.

◆ interpolation

const TfToken interpolation

"interpolation"

UsdSplineAPI - Interpolation attribute name

Definition at line 71 of file tokens.h.

◆ linear

const TfToken linear

"linear"

UsdSplineAPI - Linear spline interpolation

Definition at line 75 of file tokens.h.

◆ matte

const TfToken matte

"matte"

UsdRenderPassAPI - This token represents the collection name to use with UsdCollectionAPI to set the matte attribute on the prims in the collection for the RenderPass.

Definition at line 79 of file tokens.h.

◆ outputsRiDisplacement

const TfToken outputsRiDisplacement

"outputs:ri:displacement"

UsdRiMaterialAPI

Definition at line 83 of file tokens.h.

◆ outputsRiSurface

const TfToken outputsRiSurface

"outputs:ri:surface"

UsdRiMaterialAPI

Definition at line 87 of file tokens.h.

◆ outputsRiVolume

const TfToken outputsRiVolume

"outputs:ri:volume"

UsdRiMaterialAPI

Definition at line 91 of file tokens.h.

◆ positions

const TfToken positions

"positions"

UsdSplineAPI - Positions attribute name

Definition at line 95 of file tokens.h.

◆ renderContext

const TfToken renderContext

"ri"

UsdShadeMaterial / Hydra render context token for UsdRi

Definition at line 99 of file tokens.h.

◆ RiMaterialAPI

const TfToken RiMaterialAPI

"RiMaterialAPI"

Schema identifer and family for UsdRiMaterialAPI

Definition at line 111 of file tokens.h.

◆ RiRenderPassAPI

const TfToken RiRenderPassAPI

"RiRenderPassAPI"

Schema identifer and family for UsdRiRenderPassAPI

Definition at line 115 of file tokens.h.

◆ RiSplineAPI

const TfToken RiSplineAPI

"RiSplineAPI"

Schema identifer and family for UsdRiSplineAPI

Definition at line 119 of file tokens.h.

◆ spline

const TfToken spline

"spline"

UsdSplineAPI - Namespace for spline attributes

Definition at line 103 of file tokens.h.

◆ StatementsAPI

const TfToken StatementsAPI

"StatementsAPI"

Schema identifer and family for UsdRiStatementsAPI

Definition at line 123 of file tokens.h.

◆ values

const TfToken values

"values"

UsdSplineAPI - values attribute name

Definition at line 107 of file tokens.h.


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