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  ((lightColor, "light:color")) \
63  \
64  ((attentype, "karma:light:attentype")) \
65  ((atten, "karma:light:atten")) \
66  ((attenstart, "karma:light:attenstart")) \
67  \
68  (none) \
69  (physical) \
70  (half) \
71  /* end macro */
72 
77 
78 
79 #define HUSD_PRIMVAR_TOKENS \
80  ((viewLOD, "model:drawMode")) \
81  ((glWire, "houdini:gl_wireframe")) \
82  ((glCurveStyle, "houdini:gl_curve_style")) \
83  (uv) \
84  (widths) \
85  /* end macro */
86 
91 
92 #define HUSD_MATERIAL_TOKENS \
93  (UsdPreviewSurface) \
94  (UsdPrimvarReader) \
95  (UsdUVTexture) \
96  (UsdTransform2d) \
97  \
98  (bias) \
99  (diffuseColor) \
100  (emissiveColor) \
101  (specularColor) \
102  (clearcoat) \
103  (clearcoatRoughness)\
104  (displacement) \
105  (fallback) \
106  (file) \
107  (ior) \
108  (metallic) \
109  (normal) \
110  (occlusion) \
111  (opacity) \
112  (opacityThreshold) \
113  (roughness) \
114  (rotation) \
115  (scale) \
116  (translation) \
117  (useSpecularWorkflow) \
118  (varname) \
119  (wrapS) \
120  (wrapT) \
121  /* end macro */
122 
127 
128 #define HUSD_PRIMVALUE_TOKENS \
129  (bounds) \
130  (cards) \
131  (origin) \
132  ((full, "default")) \
133  (render) \
134  /* end macro */
135 
140 
141 #define HUSD_RENDERSTATS_TOKENS \
142  (rendererName) \
143  (rendererStage) \
144  (renderProgressAnnotation) \
145  (renderStatsAnnotation) \
146  (activeBuckets) \
147  (huskErrorStatus) \
148  (percentDone) \
149  (fractionDone) \
150  (totalClockTime) \
151  (totalUTime) \
152  (totalSTime) \
153  (totalMemory) \
154  (peakMemory) \
155  (viewerMouseClick) \
156  /* end macro */
157 
162 
163 #define HUSD_HUSK_TOKENS \
164  (aovBindings) \
165  (color4f) \
166  (dataType) \
167  (delegateRenderProducts) \
168  (extra_aov_resource) \
169  (distant) \
170  (dome) \
171  (none) \
172  (husk) \
173  (includeAovs) \
174  (includedPurposes) \
175  (invalidConformPolicy) \
176  (ip) \
177  (karmaTask) \
178  (orderedVars) \
179  (orderedFilters) \
180  (randomseed) \
181  (rasterRenderProducts) \
182  (renderBufferDescriptor) \
183  (renderCameraPath) \
184  (renderPassState) \
185  (sourceName) \
186  (sourcePrim) \
187  (sourceType) \
188  (stageMetersPerUnit) \
189  (vex) \
190  (viewerMouseClick) \
191  \
192  ((aovDescriptor_aovSettings, "aovDescriptor.aovSettings")) \
193  ((aovDescriptor_clearValue, "aovDescriptor.clearValue")) \
194  ((aovDescriptor_format, "aovDescriptor.format")) \
195  ((aovDescriptor_multiSampled, "aovDescriptor.multiSampled")) \
196  ((driver_parameters_aov_clearValue, "driver:parameters:aov:clearValue")) \
197  ((driver_parameters_aov_format, "driver:parameters:aov:format")) \
198  ((driver_parameters_aov_multiSampled,"driver:parameters:aov:multiSampled"))\
199  ((driver_parameters_aov_name, "driver:parameters:aov:name")) \
200  ((driver_parameters_aov_husk_clearValue, "driver:parameters:aov:husk:clearValue")) \
201  ((driver_parameters_aov_husk_format, "driver:parameters:aov:husk:format")) \
202  ((driver_parameters_aov_husk_multiSampled,"driver:parameters:aov:husk:multiSampled"))\
203  ((driver_parameters_aov_husk_name, "driver:parameters:aov:husk:name")) \
204  ((husk_orderedImageFilters, "husk:orderedImageFilters")) \
205  ((houdini_fps, "houdini:fps")) \
206  ((houdini_frame, "houdini:frame")) \
207  ((houdini_cop_texture_changed, "houdini:cop_texture_changed")) \
208  ((houdini_renderer, "houdini:renderer")) \
209  ((husk_snapshot, "husk:snapshot")) \
210  ((houdini_interactive, "houdini:interactive")) \
211  ((husk_mplay, "husk:mplay")) \
212  ((huskNullRaster, "husk:null_raster")) \
213  ((husk_productmetadata, "husk:productmetadata")) \
214  ((karma_global_randomseed, "karma:global:randomseed")) \
215  /* end macro */
216 
221 
222 /// Hydra tokens for APEX schemas
223 #define HUSD_APEX_TOKENS \
224  (houdiniApexCharacter) \
225  (houdiniApexCharacterBindings) \
226  (houdiniApexShapeBindings) \
227  (houdiniApexXformBindings) \
228  (houdiniApexScene) \
229  (houdiniApexShapeDeform) \
230  (binding) \
231  (files) \
232  (input) \
233  (joint) \
234  (joints) \
235  (output) \
236  (rig) \
237  ((houdiniApexDeformJointIndices, "houdini:apex:deform:jointIndices")) \
238  ((houdiniApexDeformJointWeights, "houdini:apex:deform:jointWeights")) \
239  /* end macro */
240 
245 
247 
248 #endif //HUSD_TOKENS_H
249 
#define HUSD_LIGHT_TOKENS
Tokens for light parameters.
Definition: XUSD_Tokens.h:47
#define HUSD_PRIMTYPE_TOKENS
Definition: XUSD_Tokens.h:33
#define PXR_NAMESPACE_OPEN_SCOPE
Definition: pxr.h:73
#define ARCH_PRAGMA_POP
Definition: pragmas.h:170
#define HUSD_API
Definition: HUSD_API.h:31
#define HUSD_APEX_TOKENS
Hydra tokens for APEX schemas.
Definition: XUSD_Tokens.h:223
#define HUSD_PRIMVAR_TOKENS
Definition: XUSD_Tokens.h:79
#define HUSD_PRIMVALUE_TOKENS
Definition: XUSD_Tokens.h:128
#define HUSD_MATERIAL_TOKENS
Definition: XUSD_Tokens.h:92
#define HUSD_RENDERSTATS_TOKENS
Definition: XUSD_Tokens.h:141
#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:163
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
#define ARCH_PRAGMA_MACRO_TOO_FEW_ARGUMENTS
Definition: pragmas.h:210