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  (houdiniFieldAsset) \
35  (openvdbAsset) \
36  (boundingBox) \
37  (metaCurves) \
38  (karmaSkyAtmosphere) \
39  /* end macro */
40 
45 
46 /// Tokens for light parameters
47 #define HUSD_LIGHT_TOKENS \
48  (barndoorleft) \
49  (barndoorleftedge) \
50  (barndoorright) \
51  (barndoorrightedge) \
52  (barndoortop) \
53  (barndoortopedge) \
54  (barndoorbottom) \
55  (barndoorbottomedge)\
56  ((clippingRange, "houdini:clippingRange")) \
57  ((fogIntensity, "gl:fogintensity")) \
58  ((fogScatterPara, "gl:fogscatterpara")) \
59  ((fogScatterPerp, "gl:fogscatterperp")) \
60  ((singleSided, "karma:light:singlesided")) \
61  ((guideScale, "houdini:guidescale")) \
62  \
63  ((attentype, "karma:light:attentype")) \
64  ((atten, "karma:light:atten")) \
65  ((attenstart, "karma:light:attenstart")) \
66  \
67  (none) \
68  (physical) \
69  (half) \
70  /* end macro */
71 
76 
77 #define HUSD_PRIMVAR_TOKENS \
78  ((viewLOD, "model:drawMode")) \
79  ((glWire, "houdini:gl_wireframe")) \
80  ((glCurveStyle, "houdini:gl_curve_style")) \
81  (uv) \
82  (widths) \
83  /* end macro */
84 
89 
90 #define HUSD_MATERIAL_TOKENS \
91  (UsdPreviewSurface) \
92  (UsdPrimvarReader) \
93  (UsdUVTexture) \
94  (UsdTransform2d) \
95  \
96  (bias) \
97  (diffuseColor) \
98  (emissiveColor) \
99  (specularColor) \
100  (clearcoat) \
101  (clearcoatRoughness)\
102  (displacement) \
103  (fallback) \
104  (file) \
105  (ior) \
106  (metallic) \
107  (normal) \
108  (occlusion) \
109  (opacity) \
110  (opacityThreshold) \
111  (roughness) \
112  (rotation) \
113  (scale) \
114  (translation) \
115  (useSpecularWorkflow) \
116  (varname) \
117  (wrapS) \
118  (wrapT) \
119  /* end macro */
120 
125 
126 #define HUSD_PRIMVALUE_TOKENS \
127  (bounds) \
128  (cards) \
129  (origin) \
130  ((full, "default")) \
131  (render) \
132  /* end macro */
133 
138 
139 #define HUSD_RENDERSTATS_TOKENS \
140  (rendererName) \
141  (rendererVersion) \
142  (rendererSettings) \
143  (worldToCamera) \
144  (worldToScreen) \
145  (worldToNDC) \
146  (worldToRaster) \
147  (clipNear) \
148  (clipFar) \
149  (percentDone) \
150  (fractionDone) \
151  (cameraRays) \
152  (indirectRays) \
153  (occlusionRays) \
154  (lightGeoRays) \
155  (probeRays) \
156  (polyCounts) \
157  (curveCounts) \
158  (pointCounts) \
159  (pointMeshCounts) \
160  (volumeCounts) \
161  (proceduralCounts) \
162  (lightCounts) \
163  (lightTreeCounts) \
164  (cameraCounts) \
165  (coordSysCounts) \
166  (octreeBuildTime) \
167  (loadClockTime) \
168  (loadUTime) \
169  (loadSTime) \
170  (loadMemory) \
171  (totalClockTime) \
172  (totalUTime) \
173  (totalSTime) \
174  (totalMemory) \
175  (peakMemory) \
176  (viewerMouseClick) \
177  /* end macro */
178 
183 
184 #define HUSD_HUSK_TOKENS \
185  (aovBindings) \
186  (color4f) \
187  (dataType) \
188  (delegateRenderProducts) \
189  (extra_aov_resource) \
190  (distant) \
191  (dome) \
192  (none) \
193  (husk) \
194  (includeAovs) \
195  (includedPurposes) \
196  (invalidConformPolicy) \
197  (ip) \
198  (karmaTask) \
199  (orderedVars) \
200  (randomseed) \
201  (rasterRenderProducts) \
202  (renderBufferDescriptor) \
203  (renderCameraPath) \
204  (renderPassState) \
205  (sourceName) \
206  (sourcePrim) \
207  (sourceType) \
208  (stageMetersPerUnit) \
209  (vex) \
210  (viewerMouseClick) \
211  \
212  ((aovDescriptor_aovSettings, "aovDescriptor.aovSettings")) \
213  ((aovDescriptor_clearValue, "aovDescriptor.clearValue")) \
214  ((aovDescriptor_format, "aovDescriptor.format")) \
215  ((aovDescriptor_multiSampled, "aovDescriptor.multiSampled")) \
216  ((driver_parameters_aov_clearValue, "driver:parameters:aov:clearValue")) \
217  ((driver_parameters_aov_format, "driver:parameters:aov:format")) \
218  ((driver_parameters_aov_multiSampled,"driver:parameters:aov:multiSampled"))\
219  ((driver_parameters_aov_name, "driver:parameters:aov:name")) \
220  ((houdini_fps, "houdini:fps")) \
221  ((houdini_frame, "houdini:frame")) \
222  ((houdini_renderer, "houdini:renderer")) \
223  ((husk_snapshot, "husk:snapshot")) \
224  ((houdini_interactive, "houdini:interactive")) \
225  ((husk_mplay, "husk:mplay")) \
226  ((huskNullRaster, "husk:null_raster")) \
227  /* end macro */
228 
233 
235 
236 #endif //HUSD_TOKENS_H
237 
#define HUSD_LIGHT_TOKENS
Tokens for light parameters.
Definition: XUSD_Tokens.h:47
#define HUSD_PRIMTYPE_TOKENS
Definition: XUSD_Tokens.h:33
#define ARCH_PRAGMA_POP
Definition: pragmas.h:170
#define HUSD_API
Definition: HUSD_API.h:32
#define HUSD_PRIMVAR_TOKENS
Definition: XUSD_Tokens.h:77
#define HUSD_PRIMVALUE_TOKENS
Definition: XUSD_Tokens.h:126
#define HUSD_MATERIAL_TOKENS
Definition: XUSD_Tokens.h:90
#define HUSD_RENDERSTATS_TOKENS
Definition: XUSD_Tokens.h:139
#define ARCH_PRAGMA_PUSH
Definition: pragmas.h:166
ARCH_PRAGMA_PUSH ARCH_PRAGMA_MACRO_TOO_FEW_ARGUMENTS TF_DECLARE_PUBLIC_TOKENS(HusdHdPrimTypeTokens, HUSD_API, HUSD_PRIMTYPE_TOKENS)
#define HUSD_HUSK_TOKENS
Definition: XUSD_Tokens.h:184
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1432
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:91
#define ARCH_PRAGMA_MACRO_TOO_FEW_ARGUMENTS
Definition: pragmas.h:206