HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tokens.h
Go to the documentation of this file.
1 //
2 // Copyright 2016 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef USDRENDER_TOKENS_H
8 #define USDRENDER_TOKENS_H
9 
10 /// \file usdRender/tokens.h
11 
12 // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
13 //
14 // This is an automatically generated file (by usdGenSchema.py).
15 // Do not hand-edit!
16 //
17 // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
18 
19 #include "pxr/pxr.h"
20 #include "pxr/usd/usdRender/api.h"
21 #include "pxr/base/tf/staticData.h"
22 #include "pxr/base/tf/token.h"
23 #include <vector>
24 
26 
27 
28 /// \class UsdRenderTokensType
29 ///
30 /// \link UsdRenderTokens \endlink provides static, efficient
31 /// \link TfToken TfTokens\endlink for use in all public USD API.
32 ///
33 /// These tokens are auto-generated from the module's schema, representing
34 /// property names, for when you need to fetch an attribute or relationship
35 /// directly by name, e.g. UsdPrim::GetAttribute(), in the most efficient
36 /// manner, and allow the compiler to verify that you spelled the name
37 /// correctly.
38 ///
39 /// UsdRenderTokens also contains all of the \em allowedTokens values
40 /// declared for schema builtin attributes of 'token' scene description type.
41 /// Use UsdRenderTokens like so:
42 ///
43 /// \code
44 /// gprim.GetMyTokenValuedAttr().Set(UsdRenderTokens->adjustApertureHeight);
45 /// \endcode
48  /// \brief "adjustApertureHeight"
49  ///
50  /// Possible value for UsdRenderSettingsBase::GetAspectRatioConformPolicyAttr()
52  /// \brief "adjustApertureWidth"
53  ///
54  /// Possible value for UsdRenderSettingsBase::GetAspectRatioConformPolicyAttr()
56  /// \brief "adjustPixelAspectRatio"
57  ///
58  /// Possible value for UsdRenderSettingsBase::GetAspectRatioConformPolicyAttr()
60  /// \brief "aspectRatioConformPolicy"
61  ///
62  /// UsdRenderSettingsBase
64  /// \brief "camera"
65  ///
66  /// UsdRenderSettingsBase
67  const TfToken camera;
68  /// \brief "collection:cameraVisibility:includeRoot"
69  ///
70  /// UsdRenderPass
72  /// \brief "collection:renderVisibility:includeRoot"
73  ///
74  /// UsdRenderPass
76  /// \brief "color3f"
77  ///
78  /// Fallback value for UsdRenderVar::GetDataTypeAttr()
80  /// \brief "command"
81  ///
82  /// UsdRenderPass
84  /// \brief "cropAperture"
85  ///
86  /// Possible value for UsdRenderSettingsBase::GetAspectRatioConformPolicyAttr()
88  /// \brief "dataType"
89  ///
90  /// UsdRenderVar
92  /// \brief "dataWindowNDC"
93  ///
94  /// UsdRenderSettingsBase
96  /// \brief "deepRaster"
97  ///
98  /// Possible value for UsdRenderProduct::GetProductTypeAttr()
100  /// \brief "disableDepthOfField"
101  ///
102  /// UsdRenderSettingsBase
104  /// \brief "disableMotionBlur"
105  ///
106  /// UsdRenderSettingsBase
108  /// \brief "expandAperture"
109  ///
110  /// Fallback value for UsdRenderSettingsBase::GetAspectRatioConformPolicyAttr()
112  /// \brief "fileName"
113  ///
114  /// UsdRenderPass
116  /// \brief "full"
117  ///
118  /// Possible value for UsdRenderSettings::GetMaterialBindingPurposesAttr()
119  const TfToken full;
120  /// \brief "includedPurposes"
121  ///
122  /// UsdRenderSettings
124  /// \brief "inputPasses"
125  ///
126  /// UsdRenderPass
128  /// \brief "instantaneousShutter"
129  ///
130  /// UsdRenderSettingsBase
132  /// \brief "intrinsic"
133  ///
134  /// Possible value for UsdRenderVar::GetSourceTypeAttr()
136  /// \brief "lpe"
137  ///
138  /// Possible value for UsdRenderVar::GetSourceTypeAttr()
139  const TfToken lpe;
140  /// \brief "materialBindingPurposes"
141  ///
142  /// UsdRenderSettings
144  /// \brief "orderedVars"
145  ///
146  /// UsdRenderProduct
148  /// \brief "passType"
149  ///
150  /// UsdRenderPass
152  /// \brief "pixelAspectRatio"
153  ///
154  /// UsdRenderSettingsBase
156  /// \brief "preview"
157  ///
158  /// Possible value for UsdRenderSettings::GetMaterialBindingPurposesAttr()
160  /// \brief "primvar"
161  ///
162  /// Possible value for UsdRenderVar::GetSourceTypeAttr()
164  /// \brief "productName"
165  ///
166  /// UsdRenderProduct
168  /// \brief "products"
169  ///
170  /// UsdRenderSettings
172  /// \brief "productType"
173  ///
174  /// UsdRenderProduct
176  /// \brief "raster"
177  ///
178  /// Fallback value for UsdRenderProduct::GetProductTypeAttr()
180  /// \brief "raw"
181  ///
182  /// Fallback value for UsdRenderVar::GetSourceTypeAttr()
183  const TfToken raw;
184  /// \brief "renderingColorSpace"
185  ///
186  /// UsdRenderSettings
188  /// \brief "renderSettingsPrimPath"
189  ///
190  /// Stage-level metadata that encodes the path to UsdRenderSettingsPrim to use for rendering.
192  /// \brief "renderSource"
193  ///
194  /// UsdRenderPass
196  /// \brief "renderVisibility"
197  ///
198  /// This token represents the collection name to use with UsdCollectionAPI to represent renderVisibility of a RenderPass prim.
200  /// \brief "resolution"
201  ///
202  /// UsdRenderSettingsBase
204  /// \brief "sourceName"
205  ///
206  /// UsdRenderVar
208  /// \brief "sourceType"
209  ///
210  /// UsdRenderVar
212  /// \brief "RenderPass"
213  ///
214  /// Schema identifer and family for UsdRenderPass
216  /// \brief "RenderProduct"
217  ///
218  /// Schema identifer and family for UsdRenderProduct
220  /// \brief "RenderSettings"
221  ///
222  /// Schema identifer and family for UsdRenderSettings
224  /// \brief "RenderSettingsBase"
225  ///
226  /// Schema identifer and family for UsdRenderSettingsBase
228  /// \brief "RenderVar"
229  ///
230  /// Schema identifer and family for UsdRenderVar
232  /// A vector of all of the tokens listed above.
233  const std::vector<TfToken> allTokens;
234 };
235 
236 /// \var UsdRenderTokens
237 ///
238 /// A global variable with static, efficient \link TfToken TfTokens\endlink
239 /// for use in all public USD API. \sa UsdRenderTokensType
241 
243 
244 #endif
const TfToken resolution
"resolution"
Definition: tokens.h:203
const TfToken raster
"raster"
Definition: tokens.h:179
const TfToken RenderSettings
"RenderSettings"
Definition: tokens.h:223
const TfToken fileName
"fileName"
Definition: tokens.h:115
const TfToken raw
"raw"
Definition: tokens.h:183
const TfToken primvar
"primvar"
Definition: tokens.h:163
#define USDRENDER_API
Definition: api.h:23
const TfToken collectionRenderVisibilityIncludeRoot
"collection:renderVisibility:includeRoot"
Definition: tokens.h:75
const TfToken camera
"camera"
Definition: tokens.h:67
const TfToken full
"full"
Definition: tokens.h:119
const TfToken aspectRatioConformPolicy
"aspectRatioConformPolicy"
Definition: tokens.h:63
const TfToken RenderVar
"RenderVar"
Definition: tokens.h:231
const TfToken lpe
"lpe"
Definition: tokens.h:139
const TfToken includedPurposes
"includedPurposes"
Definition: tokens.h:123
const std::vector< TfToken > allTokens
A vector of all of the tokens listed above.
Definition: tokens.h:233
const TfToken productName
"productName"
Definition: tokens.h:167
const TfToken renderSettingsPrimPath
"renderSettingsPrimPath"
Definition: tokens.h:191
const TfToken disableMotionBlur
"disableMotionBlur"
Definition: tokens.h:107
const TfToken pixelAspectRatio
"pixelAspectRatio"
Definition: tokens.h:155
Definition: token.h:70
const TfToken adjustApertureWidth
"adjustApertureWidth"
Definition: tokens.h:55
const TfToken RenderPass
"RenderPass"
Definition: tokens.h:215
const TfToken renderSource
"renderSource"
Definition: tokens.h:195
const TfToken renderingColorSpace
"renderingColorSpace"
Definition: tokens.h:187
const TfToken inputPasses
"inputPasses"
Definition: tokens.h:127
const TfToken sourceType
"sourceType"
Definition: tokens.h:211
const TfToken orderedVars
"orderedVars"
Definition: tokens.h:147
const TfToken passType
"passType"
Definition: tokens.h:151
const TfToken preview
"preview"
Definition: tokens.h:159
const TfToken intrinsic
"intrinsic"
Definition: tokens.h:135
USDRENDER_API UsdRenderTokensType()
const TfToken renderVisibility
"renderVisibility"
Definition: tokens.h:199
const TfToken command
"command"
Definition: tokens.h:83
const TfToken adjustPixelAspectRatio
"adjustPixelAspectRatio"
Definition: tokens.h:59
const TfToken collectionCameraVisibilityIncludeRoot
"collection:cameraVisibility:includeRoot"
Definition: tokens.h:71
const TfToken instantaneousShutter
"instantaneousShutter"
Definition: tokens.h:131
const TfToken productType
"productType"
Definition: tokens.h:175
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
const TfToken dataType
"dataType"
Definition: tokens.h:91
const TfToken color3f
"color3f"
Definition: tokens.h:79
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
const TfToken disableDepthOfField
"disableDepthOfField"
Definition: tokens.h:103
const TfToken adjustApertureHeight
"adjustApertureHeight"
Definition: tokens.h:51
const TfToken deepRaster
"deepRaster"
Definition: tokens.h:99
const TfToken materialBindingPurposes
"materialBindingPurposes"
Definition: tokens.h:143
const TfToken RenderProduct
"RenderProduct"
Definition: tokens.h:219
const TfToken dataWindowNDC
"dataWindowNDC"
Definition: tokens.h:95
const TfToken sourceName
"sourceName"
Definition: tokens.h:207
USDRENDER_API TfStaticData< UsdRenderTokensType > UsdRenderTokens
const TfToken RenderSettingsBase
"RenderSettingsBase"
Definition: tokens.h:227
const TfToken cropAperture
"cropAperture"
Definition: tokens.h:87
const TfToken products
"products"
Definition: tokens.h:171
const TfToken expandAperture
"expandAperture"
Definition: tokens.h:111