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 
34 {
36 
41 };
43 
44 
45 /// Tokens for light parameters
47 {
49 
50  // Light parms
73 
74  // Shadow parms
76 
77  // Values
78  const TfToken none;
89 };
91 
93 {
95 
98 };
100 
101 
103 {
105 
106  // instancing primvars
109  const TfToken scale;
112  const TfToken uv;
113 };
115 
117 {
119 
120  // model:drawMode values
122  const TfToken cards;
124  const TfToken full;
126 };
128 
130 {
132 
133  // mat types
138 
139  // preview mat parms
140  const TfToken bias;
147  const TfToken file;
148  const TfToken ior;
155  const TfToken scale;
159  const TfToken wrapS;
160  const TfToken wrapT;
161 };
163 
165 {
167 
168  const TfToken rendererName; // {TfToken} - Render delgate name
169  const TfToken rendererVersion; // {GfVec3i} - Render delgate version
170 
171  // Transform matrices to pass to images
172  const TfToken worldToCamera; // {GfMatrix4d, GfMatrix4f}
173  const TfToken worldToScreen; // {GfMatrix4d, GfMatrix4f}
174 
175  // Percent done is a value between 0 and 100. fractionDone is a fraction
176  // between 0.0 and 1.0
177  const TfToken percentDone; // {float32/64, int32/64}
178  const TfToken fractionDone; // {float32/64 }
179 
180  const TfToken cameraRays; // {int32/64, uint32/64 }
181  const TfToken indirectRays; // {int32/64, uint32/64 }
182  const TfToken occlusionRays; // {int32/64, uint32/64 }
183  const TfToken lightGeoRays; // {int32/64, uint32/64 }
184  const TfToken probeRays; // {int32/64, uint32/64 }
185 
186  // Counts are the "raw/individual" number and the "instanced" number
187  const TfToken polyCounts; // {GfSize2, GfVec2i} (raw, instanced)
188  const TfToken curveCounts; // {GfSize2, GfVec2i}
189  const TfToken pointCounts; // {GfSize2, GfVec2i}
190  const TfToken pointMeshCounts; // {GfSize2, GfVec2i}
191  const TfToken volumeCounts; // {GfSize2, GfVec2i}
192  const TfToken proceduralCounts; // {GfSize2, GfVec2i}
193  const TfToken lightCounts; // {int32/int64, uint32/uint64}
194  const TfToken lightTreeCounts; // {int32/int64, uint32/uint64}
195  const TfToken cameraCounts; // {int32/int64, uint32/uint64}
196 
197  const TfToken octreeBuildTime; // {fpreal64/32}
198  const TfToken loadClockTime; // {fpreal64/32}
199  const TfToken loadUTime; // {fpreal64/32}
200  const TfToken loadSTime; // {fpreal64/32}
201  const TfToken loadMemory; // {int64,uint64} (in bytes)
202 
203  const TfToken totalClockTime; // {fpreal64/32}
204  const TfToken totalUTime; // {fpreal64/32}
205  const TfToken totalSTime; // {fpreal64/32}
206  const TfToken totalMemory; // {int64,uint64}
207 
208  const TfToken peakMemory; // {int64, uint64} (in bytes)
209 };
210 
213 
215 
216 #endif //HUSD_TOKENS_H
217 
HUSD_API TfStaticData< HusdHdPrimTypeTokensType > & HusdHdPrimTypeTokens()
const TfToken barndoorrightedge
Definition: XUSD_Tokens.h:63
const TfToken usdPrimvarReader
Definition: XUSD_Tokens.h:135
const TfToken fogScatterPara
Definition: XUSD_Tokens.h:69
const TfToken roughness
Definition: XUSD_Tokens.h:153
const TfToken translation
Definition: XUSD_Tokens.h:156
const TfToken instanceTransform
Definition: XUSD_Tokens.h:110
const TfToken barndoortop
Definition: XUSD_Tokens.h:64
const TfToken clipNear
Definition: XUSD_Tokens.h:87
HUSD_API HusdHdCameraTokensType()
const TfToken singleSided
Definition: XUSD_Tokens.h:71
const TfToken barndoorright
Definition: XUSD_Tokens.h:62
const TfToken lightTreeCounts
Definition: XUSD_Tokens.h:194
const TfToken rendererVersion
Definition: XUSD_Tokens.h:169
const TfToken translate
Definition: XUSD_Tokens.h:107
const TfToken totalClockTime
Definition: XUSD_Tokens.h:203
const TfToken shadowOff
Definition: XUSD_Tokens.h:84
#define HUSD_API
Definition: HUSD_API.h:32
const TfToken diffuseColor
Definition: XUSD_Tokens.h:141
const TfToken useSpecWorkflow
Definition: XUSD_Tokens.h:157
const TfToken inViewerMenu
Definition: XUSD_Tokens.h:96
const TfToken attenStart
Definition: XUSD_Tokens.h:51
const TfToken coneSoftness
Definition: XUSD_Tokens.h:55
const TfToken sprimGeometryLight
Definition: XUSD_Tokens.h:37
const TfToken specular
Definition: XUSD_Tokens.h:59
HUSD_API HusdHdLightTokensType()
const TfToken barndoortopedge
Definition: XUSD_Tokens.h:65
const TfToken coneDelta
Definition: XUSD_Tokens.h:56
const TfToken attenType
Definition: XUSD_Tokens.h:52
const TfToken rotate
Definition: XUSD_Tokens.h:108
const TfToken boundingBox
Definition: XUSD_Tokens.h:40
const TfToken barndoorbottom
Definition: XUSD_Tokens.h:66
const TfToken usdUVTexture
Definition: XUSD_Tokens.h:136
const TfToken pointMeshCounts
Definition: XUSD_Tokens.h:190
Definition: token.h:87
HUSD_API TfStaticData< HusdHdCameraTokensType > & HusdHdCameraTokens()
const TfToken shadowType
Definition: XUSD_Tokens.h:83
const TfToken activeRadiusEnable
Definition: XUSD_Tokens.h:81
const TfToken guideScale
Definition: XUSD_Tokens.h:97
const TfToken guideScale
Definition: XUSD_Tokens.h:72
const TfToken attenDist
Definition: XUSD_Tokens.h:53
HUSD_API TfStaticData< HusdHdLightTokensType > & HusdHdLightTokens()
const TfToken barndoorbottomedge
Definition: XUSD_Tokens.h:67
const TfToken none
Definition: XUSD_Tokens.h:78
const TfToken usdUVTransform
Definition: XUSD_Tokens.h:137
const TfToken displacement
Definition: XUSD_Tokens.h:146
HUSD_API TfStaticData< HusdHdPrimValueTokenType > & HusdHdPrimValueTokens()
const TfToken fogScatterPerp
Definition: XUSD_Tokens.h:70
HUSD_API HusdHdPrimTypeTokensType()
const TfToken diffuse
Definition: XUSD_Tokens.h:58
const TfToken clearcoatRoughness
Definition: XUSD_Tokens.h:145
const TfToken usdPreviewMaterial
Definition: XUSD_Tokens.h:134
HUSD_API TfStaticData< HusdHdMaterialTokensType > & HusdHdMaterialTokens()
HUSD_API HusdHdPrimValueTokenType()
const TfToken rotation
Definition: XUSD_Tokens.h:154
const TfToken barndoorleft
Definition: XUSD_Tokens.h:60
const TfToken emissiveColor
Definition: XUSD_Tokens.h:142
const TfToken viewLOD
Definition: XUSD_Tokens.h:111
const TfToken metallic
Definition: XUSD_Tokens.h:149
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1346
HUSD_API TfStaticData< HusdHdPrimvarTokensType > & HusdHdPrimvarTokens()
const TfToken projectAngle
Definition: XUSD_Tokens.h:86
const TfToken proceduralCounts
Definition: XUSD_Tokens.h:192
const TfToken octreeBuildTime
Definition: XUSD_Tokens.h:197
HUSD_API HusdHdRenderStatsTokensType()
const TfToken halfDistance
Definition: XUSD_Tokens.h:80
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:91
const TfToken coneRolloff
Definition: XUSD_Tokens.h:57
const TfToken occlusion
Definition: XUSD_Tokens.h:151
const TfToken bprimHoudiniFieldAsset
Definition: XUSD_Tokens.h:38
const TfToken specularColor
Definition: XUSD_Tokens.h:143
HUSD_API HusdHdPrimvarTokensType()
const TfToken physical
Definition: XUSD_Tokens.h:79
const TfToken fogIntensity
Definition: XUSD_Tokens.h:68
const TfToken coneAngle
Definition: XUSD_Tokens.h:54
const TfToken clipFar
Definition: XUSD_Tokens.h:88
const TfToken shadowIntensity
Definition: XUSD_Tokens.h:75
Tokens for light parameters.
Definition: XUSD_Tokens.h:46
const TfToken projectMap
Definition: XUSD_Tokens.h:85
const TfToken activeRadius
Definition: XUSD_Tokens.h:82
HUSD_API TfStaticData< HusdHdRenderStatsTokensType > & HusdHdRenderStatsTokens()
const TfToken barndoorleftedge
Definition: XUSD_Tokens.h:61
HUSD_API HusdHdMaterialTokensType()
const TfToken openvdbAsset
Definition: XUSD_Tokens.h:39
const TfToken clearcoat
Definition: XUSD_Tokens.h:144