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  (uv) \
74  (widths) \
75  /* end macro */
76 
78 
79 #define HUSD_MATERIAL_TOKENS \
80  (UsdPreviewSurface) \
81  (UsdPrimvarReader) \
82  (UsdUVTexture) \
83  (UsdTransform2d) \
84  \
85  (bias) \
86  (diffuseColor) \
87  (emissiveColor) \
88  (specularColor) \
89  (clearcoat) \
90  (clearcoatRoughness)\
91  (displacement) \
92  (fallback) \
93  (file) \
94  (ior) \
95  (metallic) \
96  (normal) \
97  (occlusion) \
98  (opacity) \
99  (opacityThreshold) \
100  (roughness) \
101  (rotation) \
102  (scale) \
103  (translation) \
104  (useSpecularWorkflow) \
105  (varname) \
106  (wrapS) \
107  (wrapT) \
108  /* end macro */
109 
111 
112 #define HUSD_PRIMVALUE_TOKENS \
113  (bounds) \
114  (cards) \
115  (origin) \
116  ((full, "default")) \
117  (render) \
118  /* end macro */
119 
121 
122 #define HUSD_RENDERSTATS_TOKENS \
123  (rendererName) \
124  (rendererVersion) \
125  (rendererSettings) \
126  (worldToCamera) \
127  (worldToScreen) \
128  (worldToNDC) \
129  (worldToRaster) \
130  (clipNear) \
131  (clipFar) \
132  (percentDone) \
133  (fractionDone) \
134  (cameraRays) \
135  (indirectRays) \
136  (occlusionRays) \
137  (lightGeoRays) \
138  (probeRays) \
139  (polyCounts) \
140  (curveCounts) \
141  (pointCounts) \
142  (pointMeshCounts) \
143  (volumeCounts) \
144  (proceduralCounts) \
145  (lightCounts) \
146  (lightTreeCounts) \
147  (cameraCounts) \
148  (coordSysCounts) \
149  (octreeBuildTime) \
150  (loadClockTime) \
151  (loadUTime) \
152  (loadSTime) \
153  (loadMemory) \
154  (totalClockTime) \
155  (totalUTime) \
156  (totalSTime) \
157  (totalMemory) \
158  (peakMemory) \
159  (viewerMouseClick) \
160  /* end macro */
161 
163 
164 #define HUSD_HUSK_TOKENS \
165  (aovBindings) \
166  (color4f) \
167  (dataType) \
168  (delegateRenderProducts) \
169  (extra_aov_resource) \
170  (husk) \
171  (includeAovs) \
172  (includedPurposes) \
173  (invalidConformPolicy) \
174  (ip) \
175  (karma) \
176  (karmaTask) \
177  (orderedVars) \
178  (randomseed) \
179  (renderBufferDescriptor) \
180  (renderCameraPath) \
181  (renderPassState) \
182  (sourceName) \
183  (sourcePrim) \
184  (sourceType) \
185  (stageMetersPerUnit) \
186  (viewerMouseClick) \
187  \
188  ((aovDescriptor_aovSettings, "aovDescriptor.aovSettings")) \
189  ((aovDescriptor_clearValue, "aovDescriptor.clearValue")) \
190  ((aovDescriptor_format, "aovDescriptor.format")) \
191  ((aovDescriptor_multiSampled, "aovDescriptor.multiSampled")) \
192  ((driver_parameters_aov_clearValue, "driver:parameters:aov:clearValue")) \
193  ((driver_parameters_aov_format, "driver:parameters:aov:format")) \
194  ((driver_parameters_aov_multiSampled,"driver:parameters:aov:multiSampled"))\
195  ((driver_parameters_aov_name, "driver:parameters:aov:name")) \
196  ((houdini_fps, "houdini:fps")) \
197  ((houdini_frame, "houdini:frame")) \
198  ((houdini_renderer, "houdini:renderer")) \
199  ((husk_snapshot, "husk:snapshot")) \
200  /* end macro */
202 
204 
205 #endif //HUSD_TOKENS_H
206 
#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:112
#define HUSD_MATERIAL_TOKENS
Definition: XUSD_Tokens.h:79
#define HUSD_RENDERSTATS_TOKENS
Definition: XUSD_Tokens.h:122
#define HUSD_HUSK_TOKENS
Definition: XUSD_Tokens.h:164
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1394
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:91