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 Apache License, Version 2.0 (the "Apache License")
5 // with the following modification; you may not use this file except in
6 // compliance with the Apache License and the following modification to it:
7 // Section 6. Trademarks. is deleted and replaced with:
8 //
9 // 6. Trademarks. This License does not grant permission to use the trade
10 // names, trademarks, service marks, or product names of the Licensor
11 // and its affiliates, except as required to comply with Section 4(c) of
12 // the License and to reproduce the content of the NOTICE file.
13 //
14 // You may obtain a copy of the Apache License at
15 //
16 // http://www.apache.org/licenses/LICENSE-2.0
17 //
18 // Unless required by applicable law or agreed to in writing, software
19 // distributed under the Apache License with the above modification is
20 // distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
21 // KIND, either express or implied. See the Apache License for the specific
22 // language governing permissions and limitations under the Apache License.
23 //
24 #ifndef USDRENDER_TOKENS_H
25 #define USDRENDER_TOKENS_H
26 
27 /// \file usdRender/tokens.h
28 
29 // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
30 //
31 // This is an automatically generated file (by usdGenSchema.py).
32 // Do not hand-edit!
33 //
34 // XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
35 
36 #include "pxr/pxr.h"
37 #include "pxr/usd/usdRender/api.h"
38 #include "pxr/base/tf/staticData.h"
39 #include "pxr/base/tf/token.h"
40 #include <vector>
41 
43 
44 
45 /// \class UsdRenderTokensType
46 ///
47 /// \link UsdRenderTokens \endlink provides static, efficient
48 /// \link TfToken TfTokens\endlink for use in all public USD API.
49 ///
50 /// These tokens are auto-generated from the module's schema, representing
51 /// property names, for when you need to fetch an attribute or relationship
52 /// directly by name, e.g. UsdPrim::GetAttribute(), in the most efficient
53 /// manner, and allow the compiler to verify that you spelled the name
54 /// correctly.
55 ///
56 /// UsdRenderTokens also contains all of the \em allowedTokens values
57 /// declared for schema builtin attributes of 'token' scene description type.
58 /// Use UsdRenderTokens like so:
59 ///
60 /// \code
61 /// gprim.GetMyTokenValuedAttr().Set(UsdRenderTokens->adjustApertureHeight);
62 /// \endcode
65  /// \brief "adjustApertureHeight"
66  ///
67  /// Possible value for UsdRenderSettingsBase::GetAspectRatioConformPolicyAttr()
69  /// \brief "adjustApertureWidth"
70  ///
71  /// Possible value for UsdRenderSettingsBase::GetAspectRatioConformPolicyAttr()
73  /// \brief "adjustPixelAspectRatio"
74  ///
75  /// Possible value for UsdRenderSettingsBase::GetAspectRatioConformPolicyAttr()
77  /// \brief "aspectRatioConformPolicy"
78  ///
79  /// UsdRenderSettingsBase
81  /// \brief "camera"
82  ///
83  /// UsdRenderSettingsBase
84  const TfToken camera;
85  /// \brief "collection:renderVisibility:includeRoot"
86  ///
87  /// UsdRenderPass
89  /// \brief "color3f"
90  ///
91  /// Fallback value for UsdRenderVar::GetDataTypeAttr()
93  /// \brief "command"
94  ///
95  /// UsdRenderPass
97  /// \brief "cropAperture"
98  ///
99  /// Possible value for UsdRenderSettingsBase::GetAspectRatioConformPolicyAttr()
101  /// \brief "dataType"
102  ///
103  /// UsdRenderVar
105  /// \brief "dataWindowNDC"
106  ///
107  /// UsdRenderSettingsBase
109  /// \brief "denoise:enable"
110  ///
111  /// UsdRenderPass
113  /// \brief "denoise:pass"
114  ///
115  /// UsdRenderPass
117  /// \brief "disableDepthOfField"
118  ///
119  /// UsdRenderSettingsBase
121  /// \brief "disableMotionBlur"
122  ///
123  /// UsdRenderSettingsBase
125  /// \brief "expandAperture"
126  ///
127  /// Fallback value for UsdRenderSettingsBase::GetAspectRatioConformPolicyAttr()
129  /// \brief "fileName"
130  ///
131  /// UsdRenderPass
133  /// \brief "full"
134  ///
135  /// Possible value for UsdRenderSettings::GetMaterialBindingPurposesAttr()
136  const TfToken full;
137  /// \brief "includedPurposes"
138  ///
139  /// UsdRenderSettings
141  /// \brief "inputPasses"
142  ///
143  /// UsdRenderPass
145  /// \brief "instantaneousShutter"
146  ///
147  /// UsdRenderSettingsBase
149  /// \brief "intrinsic"
150  ///
151  /// Possible value for UsdRenderVar::GetSourceTypeAttr()
153  /// \brief "lpe"
154  ///
155  /// Possible value for UsdRenderVar::GetSourceTypeAttr()
156  const TfToken lpe;
157  /// \brief "materialBindingPurposes"
158  ///
159  /// UsdRenderSettings
161  /// \brief "orderedVars"
162  ///
163  /// UsdRenderProduct
165  /// \brief "passType"
166  ///
167  /// UsdRenderPass
169  /// \brief "pixelAspectRatio"
170  ///
171  /// UsdRenderSettingsBase
173  /// \brief "preview"
174  ///
175  /// Possible value for UsdRenderSettings::GetMaterialBindingPurposesAttr()
177  /// \brief "primvar"
178  ///
179  /// Possible value for UsdRenderVar::GetSourceTypeAttr()
181  /// \brief "productName"
182  ///
183  /// UsdRenderProduct
185  /// \brief "products"
186  ///
187  /// UsdRenderSettings
189  /// \brief "productType"
190  ///
191  /// UsdRenderProduct
193  /// \brief "raster"
194  ///
195  /// Fallback value for UsdRenderProduct::GetProductTypeAttr(), RenderProduct productType value that indicates a 2D raster image of pixels.
197  /// \brief "raw"
198  ///
199  /// Fallback value for UsdRenderVar::GetSourceTypeAttr()
200  const TfToken raw;
201  /// \brief "renderingColorSpace"
202  ///
203  /// UsdRenderSettings
205  /// \brief "renderSettingsPrimPath"
206  ///
207  /// Stage-level metadata that encodes the path to UsdRenderSettingsPrim to use for rendering.
209  /// \brief "renderSource"
210  ///
211  /// UsdRenderPass
213  /// \brief "renderVisibility"
214  ///
215  /// This token represents the collection name to use with UsdCollectionAPI to represent renderVisibility of a RenderPass prim.
217  /// \brief "resolution"
218  ///
219  /// UsdRenderSettingsBase
221  /// \brief "sourceName"
222  ///
223  /// UsdRenderVar
225  /// \brief "sourceType"
226  ///
227  /// UsdRenderVar
229  /// \brief "RenderDenoisePass"
230  ///
231  /// Schema identifer and family for UsdRenderDenoisePass
233  /// \brief "RenderPass"
234  ///
235  /// Schema identifer and family for UsdRenderPass
237  /// \brief "RenderProduct"
238  ///
239  /// Schema identifer and family for UsdRenderProduct
241  /// \brief "RenderSettings"
242  ///
243  /// Schema identifer and family for UsdRenderSettings
245  /// \brief "RenderSettingsBase"
246  ///
247  /// Schema identifer and family for UsdRenderSettingsBase
249  /// \brief "RenderVar"
250  ///
251  /// Schema identifer and family for UsdRenderVar
253  /// A vector of all of the tokens listed above.
254  const std::vector<TfToken> allTokens;
255 };
256 
257 /// \var UsdRenderTokens
258 ///
259 /// A global variable with static, efficient \link TfToken TfTokens\endlink
260 /// for use in all public USD API. \sa UsdRenderTokensType
262 
264 
265 #endif
const TfToken resolution
"resolution"
Definition: tokens.h:220
const TfToken raster
"raster"
Definition: tokens.h:196
const TfToken RenderSettings
"RenderSettings"
Definition: tokens.h:244
const TfToken fileName
"fileName"
Definition: tokens.h:132
const TfToken raw
"raw"
Definition: tokens.h:200
const TfToken primvar
"primvar"
Definition: tokens.h:180
#define USDRENDER_API
Definition: api.h:40
const TfToken collectionRenderVisibilityIncludeRoot
"collection:renderVisibility:includeRoot"
Definition: tokens.h:88
const TfToken camera
"camera"
Definition: tokens.h:84
const TfToken full
"full"
Definition: tokens.h:136
const TfToken aspectRatioConformPolicy
"aspectRatioConformPolicy"
Definition: tokens.h:80
const TfToken RenderVar
"RenderVar"
Definition: tokens.h:252
const TfToken lpe
"lpe"
Definition: tokens.h:156
const TfToken includedPurposes
"includedPurposes"
Definition: tokens.h:140
const std::vector< TfToken > allTokens
A vector of all of the tokens listed above.
Definition: tokens.h:254
const TfToken productName
"productName"
Definition: tokens.h:184
const TfToken renderSettingsPrimPath
"renderSettingsPrimPath"
Definition: tokens.h:208
const TfToken disableMotionBlur
"disableMotionBlur"
Definition: tokens.h:124
const TfToken pixelAspectRatio
"pixelAspectRatio"
Definition: tokens.h:172
Definition: token.h:87
const TfToken adjustApertureWidth
"adjustApertureWidth"
Definition: tokens.h:72
const TfToken RenderPass
"RenderPass"
Definition: tokens.h:236
const TfToken renderSource
"renderSource"
Definition: tokens.h:212
const TfToken denoiseEnable
"denoise:enable"
Definition: tokens.h:112
const TfToken renderingColorSpace
"renderingColorSpace"
Definition: tokens.h:204
const TfToken inputPasses
"inputPasses"
Definition: tokens.h:144
const TfToken denoisePass
"denoise:pass"
Definition: tokens.h:116
const TfToken sourceType
"sourceType"
Definition: tokens.h:228
const TfToken orderedVars
"orderedVars"
Definition: tokens.h:164
const TfToken passType
"passType"
Definition: tokens.h:168
const TfToken preview
"preview"
Definition: tokens.h:176
const TfToken intrinsic
"intrinsic"
Definition: tokens.h:152
USDRENDER_API UsdRenderTokensType()
const TfToken renderVisibility
"renderVisibility"
Definition: tokens.h:216
const TfToken command
"command"
Definition: tokens.h:96
const TfToken adjustPixelAspectRatio
"adjustPixelAspectRatio"
Definition: tokens.h:76
const TfToken instantaneousShutter
"instantaneousShutter"
Definition: tokens.h:148
const TfToken productType
"productType"
Definition: tokens.h:192
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1432
const TfToken dataType
"dataType"
Definition: tokens.h:104
const TfToken color3f
"color3f"
Definition: tokens.h:92
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:91
const TfToken disableDepthOfField
"disableDepthOfField"
Definition: tokens.h:120
const TfToken adjustApertureHeight
"adjustApertureHeight"
Definition: tokens.h:68
const TfToken materialBindingPurposes
"materialBindingPurposes"
Definition: tokens.h:160
const TfToken RenderProduct
"RenderProduct"
Definition: tokens.h:240
const TfToken dataWindowNDC
"dataWindowNDC"
Definition: tokens.h:108
const TfToken sourceName
"sourceName"
Definition: tokens.h:224
USDRENDER_API TfStaticData< UsdRenderTokensType > UsdRenderTokens
const TfToken RenderSettingsBase
"RenderSettingsBase"
Definition: tokens.h:248
const TfToken RenderDenoisePass
"RenderDenoisePass"
Definition: tokens.h:232
const TfToken cropAperture
"cropAperture"
Definition: tokens.h:100
const TfToken products
"products"
Definition: tokens.h:188
const TfToken expandAperture
"expandAperture"
Definition: tokens.h:128