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