HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
XUSD_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 HUSD_TOKENS_H
25 #define HUSD_TOKENS_H
26 
27 #include "HUSD_API.h"
28 #include <pxr/pxr.h>
30 
32 
33 #define HUSD_PRIMTYPE_TOKENS \
34  (bprimHoudiniFieldAsset) \
35  (openvdbAsset) \
36  (boundingBox) \
37  (metaCurves) \
38  /* end macro */
39 
41 
42 /// Tokens for light parameters
43 #define HUSD_LIGHT_TOKENS \
44  (barndoorleft) \
45  (barndoorleftedge) \
46  (barndoorright) \
47  (barndoorrightedge) \
48  (barndoortop) \
49  (barndoortopedge) \
50  (barndoorbottom) \
51  (barndoorbottomedge)\
52  ((fogIntensity, "gl:fogintensity")) \
53  ((fogScatterPara, "gl:fogscatterpara")) \
54  ((fogScatterPerp, "gl:fogscatterperp")) \
55  ((singleSided, "karma:light:singlesided")) \
56  ((guideScale, "houdini:guidescale")) \
57  \
58  ((attentype, "karma:light:attentype")) \
59  ((atten, "karma:light:atten")) \
60  ((attenstart, "karma:light:attenstart")) \
61  \
62  (none) \
63  (physical) \
64  (half) \
65  /* end macro */
66 
68 
69 #define HUSD_PRIMVAR_TOKENS \
70  ((viewLOD, "model:drawMode")) \
71  ((glWire, "houdini:gl_wireframe")) \
72  (uv) \
73  (widths) \
74  /* end macro */
75 
77 
78 #define HUSD_MATERIAL_TOKENS \
79  (UsdPreviewSurface) \
80  (UsdPrimvarReader) \
81  (UsdUVTexture) \
82  (UsdTransform2d) \
83  \
84  (bias) \
85  (diffuseColor) \
86  (emissiveColor) \
87  (specularColor) \
88  (clearcoat) \
89  (clearcoatRoughness)\
90  (displacement) \
91  (fallback) \
92  (file) \
93  (ior) \
94  (metallic) \
95  (normal) \
96  (occlusion) \
97  (opacity) \
98  (opacityThreshold) \
99  (roughness) \
100  (rotation) \
101  (scale) \
102  (translation) \
103  (useSpecularWorkflow) \
104  (varname) \
105  (wrapS) \
106  (wrapT) \
107  /* end macro */
108 
110 
111 #define HUSD_PRIMVALUE_TOKENS \
112  (bounds) \
113  (cards) \
114  (origin) \
115  ((full, "default")) \
116  (render) \
117  /* end macro */
118 
120 
121 #define HUSD_RENDERSTATS_TOKENS \
122  (rendererName) \
123  (rendererVersion) \
124  (rendererSettings) \
125  (worldToCamera) \
126  (worldToScreen) \
127  (worldToNDC) \
128  (worldToRaster) \
129  (clipNear) \
130  (clipFar) \
131  (percentDone) \
132  (fractionDone) \
133  (cameraRays) \
134  (indirectRays) \
135  (occlusionRays) \
136  (lightGeoRays) \
137  (probeRays) \
138  (polyCounts) \
139  (curveCounts) \
140  (pointCounts) \
141  (pointMeshCounts) \
142  (volumeCounts) \
143  (proceduralCounts) \
144  (lightCounts) \
145  (lightTreeCounts) \
146  (cameraCounts) \
147  (coordSysCounts) \
148  (octreeBuildTime) \
149  (loadClockTime) \
150  (loadUTime) \
151  (loadSTime) \
152  (loadMemory) \
153  (totalClockTime) \
154  (totalUTime) \
155  (totalSTime) \
156  (totalMemory) \
157  (peakMemory) \
158  (viewerMouseClick) \
159  /* end macro */
160 
162 
163 #define HUSD_HUSK_TOKENS \
164  (aovBindings) \
165  (color4f) \
166  (dataType) \
167  (delegateRenderProducts) \
168  (extra_aov_resource) \
169  (husk) \
170  (includeAovs) \
171  (includedPurposes) \
172  (invalidConformPolicy) \
173  (ip) \
174  (karma) \
175  (karmaTask) \
176  (orderedVars) \
177  (randomseed) \
178  (renderBufferDescriptor) \
179  (renderCameraPath) \
180  (renderPassState) \
181  (sourceName) \
182  (sourcePrim) \
183  (sourceType) \
184  (stageMetersPerUnit) \
185  (viewerMouseClick) \
186  \
187  ((aovDescriptor_aovSettings, "aovDescriptor.aovSettings")) \
188  ((aovDescriptor_clearValue, "aovDescriptor.clearValue")) \
189  ((aovDescriptor_format, "aovDescriptor.format")) \
190  ((aovDescriptor_multiSampled, "aovDescriptor.multiSampled")) \
191  ((driver_parameters_aov_clearValue, "driver:parameters:aov:clearValue")) \
192  ((driver_parameters_aov_format, "driver:parameters:aov:format")) \
193  ((driver_parameters_aov_multiSampled,"driver:parameters:aov:multiSampled"))\
194  ((driver_parameters_aov_name, "driver:parameters:aov:name")) \
195  ((houdini_fps, "houdini:fps")) \
196  ((houdini_frame, "houdini:frame")) \
197  ((houdini_renderer, "houdini:renderer")) \
198  ((husk_snapshot, "husk:snapshot")) \
199  /* end macro */
201 
203 
204 #endif //HUSD_TOKENS_H
205 
#define HUSD_LIGHT_TOKENS
Tokens for light parameters.
Definition: XUSD_Tokens.h:43
TF_DECLARE_PUBLIC_TOKENS(HusdHdPrimTypeTokens, HUSD_API, HUSD_PRIMTYPE_TOKENS)
#define HUSD_PRIMTYPE_TOKENS
Definition: XUSD_Tokens.h:33
#define HUSD_API
Definition: HUSD_API.h:32
#define HUSD_PRIMVAR_TOKENS
Definition: XUSD_Tokens.h:69
#define HUSD_PRIMVALUE_TOKENS
Definition: XUSD_Tokens.h:111
#define HUSD_MATERIAL_TOKENS
Definition: XUSD_Tokens.h:78
#define HUSD_RENDERSTATS_TOKENS
Definition: XUSD_Tokens.h:121
#define HUSD_HUSK_TOKENS
Definition: XUSD_Tokens.h:163
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1394
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:91