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