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  ((clippingRange, "houdini:clippingRange")) \
53  ((fogIntensity, "gl:fogintensity")) \
54  ((fogScatterPara, "gl:fogscatterpara")) \
55  ((fogScatterPerp, "gl:fogscatterperp")) \
56  ((singleSided, "karma:light:singlesided")) \
57  ((guideScale, "houdini:guidescale")) \
58  \
59  ((attentype, "karma:light:attentype")) \
60  ((atten, "karma:light:atten")) \
61  ((attenstart, "karma:light:attenstart")) \
62  \
63  (none) \
64  (physical) \
65  (half) \
66  /* end macro */
67 
69 
70 #define HUSD_PRIMVAR_TOKENS \
71  ((viewLOD, "model:drawMode")) \
72  ((glWire, "houdini:gl_wireframe")) \
73  ((glCurveStyle, "houdini:gl_curve_style")) \
74  (uv) \
75  (widths) \
76  /* end macro */
77 
79 
80 #define HUSD_MATERIAL_TOKENS \
81  (UsdPreviewSurface) \
82  (UsdPrimvarReader) \
83  (UsdUVTexture) \
84  (UsdTransform2d) \
85  \
86  (bias) \
87  (diffuseColor) \
88  (emissiveColor) \
89  (specularColor) \
90  (clearcoat) \
91  (clearcoatRoughness)\
92  (displacement) \
93  (fallback) \
94  (file) \
95  (ior) \
96  (metallic) \
97  (normal) \
98  (occlusion) \
99  (opacity) \
100  (opacityThreshold) \
101  (roughness) \
102  (rotation) \
103  (scale) \
104  (translation) \
105  (useSpecularWorkflow) \
106  (varname) \
107  (wrapS) \
108  (wrapT) \
109  /* end macro */
110 
112 
113 #define HUSD_PRIMVALUE_TOKENS \
114  (bounds) \
115  (cards) \
116  (origin) \
117  ((full, "default")) \
118  (render) \
119  /* end macro */
120 
122 
123 #define HUSD_RENDERSTATS_TOKENS \
124  (rendererName) \
125  (rendererVersion) \
126  (rendererSettings) \
127  (worldToCamera) \
128  (worldToScreen) \
129  (worldToNDC) \
130  (worldToRaster) \
131  (clipNear) \
132  (clipFar) \
133  (percentDone) \
134  (fractionDone) \
135  (cameraRays) \
136  (indirectRays) \
137  (occlusionRays) \
138  (lightGeoRays) \
139  (probeRays) \
140  (polyCounts) \
141  (curveCounts) \
142  (pointCounts) \
143  (pointMeshCounts) \
144  (volumeCounts) \
145  (proceduralCounts) \
146  (lightCounts) \
147  (lightTreeCounts) \
148  (cameraCounts) \
149  (coordSysCounts) \
150  (octreeBuildTime) \
151  (loadClockTime) \
152  (loadUTime) \
153  (loadSTime) \
154  (loadMemory) \
155  (totalClockTime) \
156  (totalUTime) \
157  (totalSTime) \
158  (totalMemory) \
159  (peakMemory) \
160  (viewerMouseClick) \
161  /* end macro */
162 
164 
165 #define HUSD_HUSK_TOKENS \
166  (aovBindings) \
167  (color4f) \
168  (dataType) \
169  (delegateRenderProducts) \
170  (extra_aov_resource) \
171  (distant) \
172  (dome) \
173  (none) \
174  (husk) \
175  (includeAovs) \
176  (includedPurposes) \
177  (invalidConformPolicy) \
178  (ip) \
179  (karmaTask) \
180  (orderedVars) \
181  (randomseed) \
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  ((houdini_fps, "houdini:fps")) \
201  ((houdini_frame, "houdini:frame")) \
202  ((houdini_renderer, "houdini:renderer")) \
203  ((husk_snapshot, "husk:snapshot")) \
204  ((houdini_interactive, "houdini:interactive")) \
205  ((husk_mplay, "husk:mplay")) \
206  ((huskNullRaster, "husk:null_raster")) \
207  /* end macro */
209 
211 
212 #endif //HUSD_TOKENS_H
213 
#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:70
#define HUSD_PRIMVALUE_TOKENS
Definition: XUSD_Tokens.h:113
#define HUSD_MATERIAL_TOKENS
Definition: XUSD_Tokens.h:80
#define HUSD_RENDERSTATS_TOKENS
Definition: XUSD_Tokens.h:123
#define HUSD_HUSK_TOKENS
Definition: XUSD_Tokens.h:165
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1441
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:91