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 USDLUX_TOKENS_H
25 #define USDLUX_TOKENS_H
26 
27 /// \file usdLux/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/usdLux/api.h"
38 #include "pxr/base/tf/staticData.h"
39 #include "pxr/base/tf/token.h"
40 #include <vector>
41 
43 
44 
45 /// \class UsdLuxTokensType
46 ///
47 /// \link UsdLuxTokens \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 /// UsdLuxTokens also contains all of the \em allowedTokens values
57 /// declared for schema builtin attributes of 'token' scene description type.
58 /// Use UsdLuxTokens like so:
59 ///
60 /// \code
61 /// gprim.GetMyTokenValuedAttr().Set(UsdLuxTokens->angular);
62 /// \endcode
65  /// \brief "angular"
66  ///
67  /// Possible value for UsdLuxDomeLight::GetTextureFormatAttr(), Possible value for UsdLuxDomeLight_1::GetTextureFormatAttr()
69  /// \brief "automatic"
70  ///
71  /// Fallback value for UsdLuxDomeLight::GetTextureFormatAttr(), Fallback value for UsdLuxDomeLight_1::GetTextureFormatAttr()
73  /// \brief "collection:filterLink:includeRoot"
74  ///
75  /// UsdLuxLightFilter
77  /// \brief "collection:lightLink:includeRoot"
78  ///
79  /// UsdLuxLightAPI
81  /// \brief "collection:shadowLink:includeRoot"
82  ///
83  /// UsdLuxLightAPI
85  /// \brief "consumeAndContinue"
86  ///
87  /// Possible value for UsdLuxLightListAPI::GetLightListCacheBehaviorAttr(), Possible value for UsdLuxListAPI::GetLightListCacheBehaviorAttr()
89  /// \brief "consumeAndHalt"
90  ///
91  /// Possible value for UsdLuxLightListAPI::GetLightListCacheBehaviorAttr(), Possible value for UsdLuxListAPI::GetLightListCacheBehaviorAttr()
93  /// \brief "cubeMapVerticalCross"
94  ///
95  /// Possible value for UsdLuxDomeLight::GetTextureFormatAttr(), Possible value for UsdLuxDomeLight_1::GetTextureFormatAttr()
97  /// \brief "filterLink"
98  ///
99  /// This token represents the collection name to use with UsdCollectionAPI to represent filter-linking of a UsdLuxLightFilter prim.
101  /// \brief "geometry"
102  ///
103  /// UsdLuxGeometryLight
105  /// \brief "guideRadius"
106  ///
107  /// UsdLuxDomeLight, UsdLuxDomeLight_1
109  /// \brief "ignore"
110  ///
111  /// Possible value for UsdLuxLightListAPI::GetLightListCacheBehaviorAttr(), Possible value for UsdLuxListAPI::GetLightListCacheBehaviorAttr()
113  /// \brief "independent"
114  ///
115  /// Possible value for UsdLuxLightAPI::GetMaterialSyncModeAttr()
117  /// \brief "inputs:angle"
118  ///
119  /// UsdLuxDistantLight
121  /// \brief "inputs:color"
122  ///
123  /// UsdLuxLightAPI
125  /// \brief "inputs:colorTemperature"
126  ///
127  /// UsdLuxLightAPI
129  /// \brief "inputs:diffuse"
130  ///
131  /// UsdLuxLightAPI
133  /// \brief "inputs:enableColorTemperature"
134  ///
135  /// UsdLuxLightAPI
137  /// \brief "inputs:exposure"
138  ///
139  /// UsdLuxLightAPI
141  /// \brief "inputs:height"
142  ///
143  /// UsdLuxRectLight, UsdLuxPortalLight
145  /// \brief "inputs:intensity"
146  ///
147  /// UsdLuxLightAPI, UsdLuxDistantLight
149  /// \brief "inputs:length"
150  ///
151  /// UsdLuxCylinderLight
153  /// \brief "inputs:normalize"
154  ///
155  /// UsdLuxLightAPI
157  /// \brief "inputs:radius"
158  ///
159  /// UsdLuxDiskLight, UsdLuxSphereLight, UsdLuxCylinderLight
161  /// \brief "inputs:shadow:color"
162  ///
163  /// UsdLuxShadowAPI
165  /// \brief "inputs:shadow:distance"
166  ///
167  /// UsdLuxShadowAPI
169  /// \brief "inputs:shadow:enable"
170  ///
171  /// UsdLuxShadowAPI
173  /// \brief "inputs:shadow:falloff"
174  ///
175  /// UsdLuxShadowAPI
177  /// \brief "inputs:shadow:falloffGamma"
178  ///
179  /// UsdLuxShadowAPI
181  /// \brief "inputs:shaping:cone:angle"
182  ///
183  /// UsdLuxShapingAPI
185  /// \brief "inputs:shaping:cone:softness"
186  ///
187  /// UsdLuxShapingAPI
189  /// \brief "inputs:shaping:focus"
190  ///
191  /// UsdLuxShapingAPI
193  /// \brief "inputs:shaping:focusTint"
194  ///
195  /// UsdLuxShapingAPI
197  /// \brief "inputs:shaping:ies:angleScale"
198  ///
199  /// UsdLuxShapingAPI
201  /// \brief "inputs:shaping:ies:file"
202  ///
203  /// UsdLuxShapingAPI
205  /// \brief "inputs:shaping:ies:normalize"
206  ///
207  /// UsdLuxShapingAPI
209  /// \brief "inputs:specular"
210  ///
211  /// UsdLuxLightAPI
213  /// \brief "inputs:texture:file"
214  ///
215  /// UsdLuxRectLight, UsdLuxDomeLight, UsdLuxDomeLight_1
217  /// \brief "inputs:texture:format"
218  ///
219  /// UsdLuxDomeLight, UsdLuxDomeLight_1
221  /// \brief "inputs:width"
222  ///
223  /// UsdLuxRectLight, UsdLuxPortalLight
225  /// \brief "latlong"
226  ///
227  /// Possible value for UsdLuxDomeLight::GetTextureFormatAttr(), Possible value for UsdLuxDomeLight_1::GetTextureFormatAttr()
229  /// \brief "light:filters"
230  ///
231  /// UsdLuxLightAPI
233  /// \brief "lightFilter:shaderId"
234  ///
235  /// UsdLuxLightFilter
237  /// \brief "lightLink"
238  ///
239  /// This token represents the collection name to use with UsdCollectionAPI to represent light-linking of a prim with an applied UsdLuxLightAPI.
241  /// \brief "lightList"
242  ///
243  /// UsdLuxLightListAPI, UsdLuxListAPI
245  /// \brief "lightList:cacheBehavior"
246  ///
247  /// UsdLuxLightListAPI, UsdLuxListAPI
249  /// \brief "light:materialSyncMode"
250  ///
251  /// UsdLuxLightAPI, UsdLuxMeshLightAPI, UsdLuxVolumeLightAPI
253  /// \brief "light:shaderId"
254  ///
255  /// UsdLuxLightAPI, UsdLuxMeshLightAPI, UsdLuxVolumeLightAPI, UsdLuxDistantLight, UsdLuxDiskLight, UsdLuxRectLight, UsdLuxSphereLight, UsdLuxCylinderLight, UsdLuxGeometryLight, UsdLuxDomeLight, UsdLuxDomeLight_1, UsdLuxPortalLight
257  /// \brief "materialGlowTintsLight"
258  ///
259  /// Possible value for UsdLuxLightAPI::GetMaterialSyncModeAttr(), Fallback value for UsdLuxMeshLightAPI schema attribute light:materialSyncMode, Fallback value for UsdLuxVolumeLightAPI schema attribute light:materialSyncMode
261  /// \brief "MeshLight"
262  ///
263  /// Fallback value for UsdLuxMeshLightAPI schema attribute light:shaderId
265  /// \brief "mirroredBall"
266  ///
267  /// Possible value for UsdLuxDomeLight::GetTextureFormatAttr(), Possible value for UsdLuxDomeLight_1::GetTextureFormatAttr()
269  /// \brief "noMaterialResponse"
270  ///
271  /// Fallback value for UsdLuxLightAPI::GetMaterialSyncModeAttr()
273  /// \brief "orientToStageUpAxis"
274  ///
275  /// This token represents the suffix for a UsdGeomXformOp used to orient a light with the stage's up axis.
277  /// \brief "poleAxis"
278  ///
279  /// UsdLuxDomeLight_1
281  /// \brief "portals"
282  ///
283  /// UsdLuxDomeLight, UsdLuxDomeLight_1
285  /// \brief "scene"
286  ///
287  /// Fallback value for UsdLuxDomeLight_1::GetPoleAxisAttr()
288  const TfToken scene;
289  /// \brief "shadowLink"
290  ///
291  /// This token represents the collection name to use with UsdCollectionAPI to represent shadow-linking of a prim with an applied UsdLuxLightAPI.
293  /// \brief "treatAsLine"
294  ///
295  /// UsdLuxCylinderLight
297  /// \brief "treatAsPoint"
298  ///
299  /// UsdLuxSphereLight
301  /// \brief "VolumeLight"
302  ///
303  /// Fallback value for UsdLuxVolumeLightAPI schema attribute light:shaderId
305  /// \brief "Y"
306  ///
307  /// Possible value for UsdLuxDomeLight_1::GetPoleAxisAttr()
308  const TfToken Y;
309  /// \brief "Z"
310  ///
311  /// Possible value for UsdLuxDomeLight_1::GetPoleAxisAttr()
312  const TfToken Z;
313  /// \brief "BoundableLightBase"
314  ///
315  /// Schema identifer and family for UsdLuxBoundableLightBase
317  /// \brief "CylinderLight"
318  ///
319  /// Schema identifer and family for UsdLuxCylinderLight, Fallback value for UsdLuxCylinderLight schema attribute light:shaderId
321  /// \brief "DiskLight"
322  ///
323  /// Schema identifer and family for UsdLuxDiskLight, Fallback value for UsdLuxDiskLight schema attribute light:shaderId
325  /// \brief "DistantLight"
326  ///
327  /// Schema identifer and family for UsdLuxDistantLight, Fallback value for UsdLuxDistantLight schema attribute light:shaderId
329  /// \brief "DomeLight"
330  ///
331  /// Schema identifer and family for UsdLuxDomeLight, Schema family for UsdLuxDomeLight_1, Fallback value for UsdLuxDomeLight schema attribute light:shaderId, Fallback value for UsdLuxDomeLight_1 schema attribute light:shaderId
333  /// \brief "DomeLight_1"
334  ///
335  /// Schema identifer for UsdLuxDomeLight_1
337  /// \brief "GeometryLight"
338  ///
339  /// Schema identifer and family for UsdLuxGeometryLight, Fallback value for UsdLuxGeometryLight schema attribute light:shaderId
341  /// \brief "LightAPI"
342  ///
343  /// Schema identifer and family for UsdLuxLightAPI
345  /// \brief "LightFilter"
346  ///
347  /// Schema identifer and family for UsdLuxLightFilter
349  /// \brief "LightListAPI"
350  ///
351  /// Schema identifer and family for UsdLuxLightListAPI
353  /// \brief "ListAPI"
354  ///
355  /// Schema identifer and family for UsdLuxListAPI
357  /// \brief "MeshLightAPI"
358  ///
359  /// Schema identifer and family for UsdLuxMeshLightAPI
361  /// \brief "NonboundableLightBase"
362  ///
363  /// Schema identifer and family for UsdLuxNonboundableLightBase
365  /// \brief "PluginLight"
366  ///
367  /// Schema identifer and family for UsdLuxPluginLight
369  /// \brief "PluginLightFilter"
370  ///
371  /// Schema identifer and family for UsdLuxPluginLightFilter
373  /// \brief "PortalLight"
374  ///
375  /// Schema identifer and family for UsdLuxPortalLight, Fallback value for UsdLuxPortalLight schema attribute light:shaderId
377  /// \brief "RectLight"
378  ///
379  /// Schema identifer and family for UsdLuxRectLight, Fallback value for UsdLuxRectLight schema attribute light:shaderId
381  /// \brief "ShadowAPI"
382  ///
383  /// Schema identifer and family for UsdLuxShadowAPI
385  /// \brief "ShapingAPI"
386  ///
387  /// Schema identifer and family for UsdLuxShapingAPI
389  /// \brief "SphereLight"
390  ///
391  /// Schema identifer and family for UsdLuxSphereLight, Fallback value for UsdLuxSphereLight schema attribute light:shaderId
393  /// \brief "VolumeLightAPI"
394  ///
395  /// Schema identifer and family for UsdLuxVolumeLightAPI
397  /// A vector of all of the tokens listed above.
398  const std::vector<TfToken> allTokens;
399 };
400 
401 /// \var UsdLuxTokens
402 ///
403 /// A global variable with static, efficient \link TfToken TfTokens\endlink
404 /// for use in all public USD API. \sa UsdLuxTokensType
406 
408 
409 #endif
const TfToken LightListAPI
"LightListAPI"
Definition: tokens.h:352
const TfToken inputsShadowColor
"inputs:shadow:color"
Definition: tokens.h:164
const TfToken guideRadius
"guideRadius"
Definition: tokens.h:108
const TfToken poleAxis
"poleAxis"
Definition: tokens.h:280
const TfToken inputsShadowEnable
"inputs:shadow:enable"
Definition: tokens.h:172
const TfToken inputsTextureFile
"inputs:texture:file"
Definition: tokens.h:216
const TfToken shadowLink
"shadowLink"
Definition: tokens.h:292
const TfToken lightFilterShaderId
"lightFilter:shaderId"
Definition: tokens.h:236
const TfToken LightAPI
"LightAPI"
Definition: tokens.h:344
const TfToken VolumeLightAPI
"VolumeLightAPI"
Definition: tokens.h:396
const TfToken inputsTextureFormat
"inputs:texture:format"
Definition: tokens.h:220
const TfToken inputsColorTemperature
"inputs:colorTemperature"
Definition: tokens.h:128
const TfToken DiskLight
"DiskLight"
Definition: tokens.h:324
const TfToken inputsSpecular
"inputs:specular"
Definition: tokens.h:212
const TfToken collectionLightLinkIncludeRoot
"collection:lightLink:includeRoot"
Definition: tokens.h:80
const TfToken inputsRadius
"inputs:radius"
Definition: tokens.h:160
#define USDLUX_API
Definition: api.h:40
const TfToken inputsWidth
"inputs:width"
Definition: tokens.h:224
const TfToken consumeAndHalt
"consumeAndHalt"
Definition: tokens.h:92
const TfToken lightShaderId
"light:shaderId"
Definition: tokens.h:256
const TfToken angular
"angular"
Definition: tokens.h:68
const TfToken ShapingAPI
"ShapingAPI"
Definition: tokens.h:388
const TfToken lightListCacheBehavior
"lightList:cacheBehavior"
Definition: tokens.h:248
const TfToken noMaterialResponse
"noMaterialResponse"
Definition: tokens.h:272
const std::vector< TfToken > allTokens
A vector of all of the tokens listed above.
Definition: tokens.h:398
const TfToken inputsExposure
"inputs:exposure"
Definition: tokens.h:140
const TfToken filterLink
"filterLink"
Definition: tokens.h:100
const TfToken inputsShapingConeSoftness
"inputs:shaping:cone:softness"
Definition: tokens.h:188
const TfToken BoundableLightBase
"BoundableLightBase"
Definition: tokens.h:316
const TfToken treatAsPoint
"treatAsPoint"
Definition: tokens.h:300
const TfToken materialGlowTintsLight
"materialGlowTintsLight"
Definition: tokens.h:260
const TfToken orientToStageUpAxis
"orientToStageUpAxis"
Definition: tokens.h:276
const TfToken consumeAndContinue
"consumeAndContinue"
Definition: tokens.h:88
const TfToken ignore
"ignore"
Definition: tokens.h:112
const TfToken treatAsLine
"treatAsLine"
Definition: tokens.h:296
const TfToken scene
"scene"
Definition: tokens.h:288
Definition: token.h:87
USDLUX_API TfStaticData< UsdLuxTokensType > UsdLuxTokens
const TfToken PluginLight
"PluginLight"
Definition: tokens.h:368
const TfToken ListAPI
"ListAPI"
Definition: tokens.h:356
const TfToken inputsDiffuse
"inputs:diffuse"
Definition: tokens.h:132
const TfToken inputsHeight
"inputs:height"
Definition: tokens.h:144
const TfToken mirroredBall
"mirroredBall"
Definition: tokens.h:268
const TfToken inputsEnableColorTemperature
"inputs:enableColorTemperature"
Definition: tokens.h:136
const TfToken lightList
"lightList"
Definition: tokens.h:244
const TfToken inputsNormalize
"inputs:normalize"
Definition: tokens.h:156
const TfToken portals
"portals"
Definition: tokens.h:284
const TfToken lightLink
"lightLink"
Definition: tokens.h:240
const TfToken collectionFilterLinkIncludeRoot
"collection:filterLink:includeRoot"
Definition: tokens.h:76
const TfToken DomeLight
"DomeLight"
Definition: tokens.h:332
const TfToken DistantLight
"DistantLight"
Definition: tokens.h:328
const TfToken RectLight
"RectLight"
Definition: tokens.h:380
const TfToken SphereLight
"SphereLight"
Definition: tokens.h:392
const TfToken collectionShadowLinkIncludeRoot
"collection:shadowLink:includeRoot"
Definition: tokens.h:84
const TfToken inputsAngle
"inputs:angle"
Definition: tokens.h:120
const TfToken inputsLength
"inputs:length"
Definition: tokens.h:152
const TfToken inputsColor
"inputs:color"
Definition: tokens.h:124
USDLUX_API UsdLuxTokensType()
const TfToken inputsShadowDistance
"inputs:shadow:distance"
Definition: tokens.h:168
const TfToken inputsShadowFalloffGamma
"inputs:shadow:falloffGamma"
Definition: tokens.h:180
const TfToken ShadowAPI
"ShadowAPI"
Definition: tokens.h:384
const TfToken inputsShapingFocusTint
"inputs:shaping:focusTint"
Definition: tokens.h:196
const TfToken inputsShapingConeAngle
"inputs:shaping:cone:angle"
Definition: tokens.h:184
const TfToken Y
"Y"
Definition: tokens.h:308
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1432
const TfToken DomeLight_1
"DomeLight_1"
Definition: tokens.h:336
const TfToken CylinderLight
"CylinderLight"
Definition: tokens.h:320
const TfToken geometry
"geometry"
Definition: tokens.h:104
const TfToken MeshLightAPI
"MeshLightAPI"
Definition: tokens.h:360
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:91
const TfToken inputsIntensity
"inputs:intensity"
Definition: tokens.h:148
const TfToken inputsShapingIesFile
"inputs:shaping:ies:file"
Definition: tokens.h:204
const TfToken lightFilters
"light:filters"
Definition: tokens.h:232
const TfToken automatic
"automatic"
Definition: tokens.h:72
const TfToken LightFilter
"LightFilter"
Definition: tokens.h:348
const TfToken inputsShadowFalloff
"inputs:shadow:falloff"
Definition: tokens.h:176
const TfToken inputsShapingFocus
"inputs:shaping:focus"
Definition: tokens.h:192
const TfToken NonboundableLightBase
"NonboundableLightBase"
Definition: tokens.h:364
const TfToken PluginLightFilter
"PluginLightFilter"
Definition: tokens.h:372
const TfToken GeometryLight
"GeometryLight"
Definition: tokens.h:340
const TfToken inputsShapingIesAngleScale
"inputs:shaping:ies:angleScale"
Definition: tokens.h:200
const TfToken inputsShapingIesNormalize
"inputs:shaping:ies:normalize"
Definition: tokens.h:208
const TfToken independent
"independent"
Definition: tokens.h:116
const TfToken VolumeLight
"VolumeLight"
Definition: tokens.h:304
const TfToken PortalLight
"PortalLight"
Definition: tokens.h:376
const TfToken MeshLight
"MeshLight"
Definition: tokens.h:264
const TfToken cubeMapVerticalCross
"cubeMapVerticalCross"
Definition: tokens.h:96
const TfToken Z
"Z"
Definition: tokens.h:312
const TfToken latlong
"latlong"
Definition: tokens.h:228
const TfToken lightMaterialSyncMode
"light:materialSyncMode"
Definition: tokens.h:252