7 #ifndef PXR_IMAGING_HD_TOKENS_H
8 #define PXR_IMAGING_HD_TOKENS_H
30 (centripetalCatmullRom) \
50 (elementsVisibility) \
71 (nonlinearSampleCount) \
97 (topologyVisibility) \
113 ((bSpline, "bspline"))
115 #define HD_INSTANCER_TOKENS \
116 (culledInstanceIndices) \
118 (instancerTransform) \
119 (instancerTransformInverse) \
121 (instanceIndexBase) \
124 ((instanceTransforms, "hydra:instanceTransforms")) \
125 ((instanceRotations, "hydra:instanceRotations")) \
126 ((instanceScales, "hydra:instanceScales")) \
127 ((instanceTranslations, "hydra:instanceTranslations"))
129 #define HD_REPR_TOKENS \
136 (refinedWireOnSurf) \
140 #define HD_CULLSTYLE_TOKENS \
145 (backUnlessDoubleSided) \
146 (frontUnlessDoubleSided)
148 #define HD_MODEL_DRAWMODE_TOKENS \
153 ((default_, "default")) \
158 #define HD_PERF_TOKENS \
160 (basisCurvesTopology) \
161 (bufferSourcesResolved) \
162 (bufferArrayRangeMigrated) \
163 (bufferArrayRangeContainerResized) \
164 (computationsCommited) \
168 (dirtyListsRebuilt) \
170 (garbageCollectedSsbo) \
171 (garbageCollectedUbo) \
172 (garbageCollectedVbo) \
174 (instBasisCurvesTopology) \
175 (instBasisCurvesTopologyRange) \
176 (instExtComputationDataRange) \
178 (instMeshTopologyRange) \
180 (instVertexAdjacency) \
183 (numCompletedSamples) \
186 (quadrangulateFaceVarying) \
187 (quadrangulatedVerts) \
191 (skipInvisibleRprimSync) \
192 (subdivisionRefineCPU) \
193 (subdivisionRefineGPU) \
195 (triangulateFaceVarying) \
200 #define HD_SHADER_TOKENS \
203 (commonShaderSource) \
208 (displacementShader) \
211 (imageToWorldMatrix) \
212 (imageToHorizontallyNormalizedFilmback) \
214 (lightingBlendAmount) \
220 (pointSelectedSize) \
223 (tessControlShader) \
225 (postTessControlShader) \
226 (postTessVertexShader) \
231 (worldToViewMatrix) \
232 (worldToViewInverseMatrix) \
238 #define HD_MATERIALTAG_TOKENS \
243 #define HD_MATERIAL_TERMINAL_TOKENS \
251 #define HD_RENDERTAG_TOKENS \
258 #define HD_RENDER_CONTEXT_TOKENS \
261 #define HD_OPTION_TOKENS \
264 #define HD_RPRIMTYPE_TOKENS \
286 #define HD_LIGHT_TYPE_TOKENS \
298 #define HD_LIGHT_FILTER_TYPE_TOKENS \
301 #define HD_SPRIMTYPE_TOKENS \
314 HD_LIGHT_TYPE_TOKENS \
315 HD_LIGHT_FILTER_TYPE_TOKENS \
320 #define HD_BPRIMTYPE_TOKENS \
325 #define HD_PRIMTYPE_TOKENS \
326 HD_RPRIMTYPE_TOKENS \
327 HD_SPRIMTYPE_TOKENS \
328 HD_BPRIMTYPE_TOKENS \
345 #define HD_PRIMVAR_ROLE_TOKENS \
357 #define HD_AOV_TOKENS \
403 ((primvars, "primvars:")) \
421 ((shader, "shader:"))
433 #define HD_RENDER_SETTINGS_TOKENS \
436 (enableSceneMaterials) \
437 (enableSceneLights) \
438 (domeLightCameraVisibility) \
440 (convergedVariance) \
441 (convergedSamplesPerPixel) \
447 #define HD_RENDER_SETTINGS_PRIM_TOKENS \
449 (namespacedSettings) \
452 (materialBindingPurposes) \
453 (renderingColorSpace) \
458 #define HD_ASPECT_RATIO_CONFORM_POLICY \
459 (adjustApertureWidth) \
460 (adjustApertureHeight) \
463 (adjustPixelAspectRatio) \
465 #define HD_RESOURCE_TYPE_TOKENS \
469 #define HD_SCENE_INDEX_EMULATION_TOKENS \
476 #define HD_COLLECTION_EMULATION_TOKENS \
477 ((lightLinkCollection, "lightLink")) \
478 ((shadowLinkCollection, "shadowLink")) \
479 ((filterLinkCollection, "filterLink")) \
480 (lightLinkCollectionMembershipExpression) \
481 (shadowLinkCollectionMembershipExpression) \
482 (filterLinkCollectionMembershipExpression)
520 #endif //PXR_IMAGING_HD_TOKENS_H
#define HD_MATERIAL_TERMINAL_TOKENS
#define HD_COLLECTION_EMULATION_TOKENS
HD_API const TfTokenVector & HdLightPrimTypeTokens()
#define HD_INSTANCER_TOKENS
HD_API TfToken HdAovTokensMakePrimvar(TfToken const &primvar)
HD_API TfToken HdAovTokensMakeShader(TfToken const &shader)
HD_API bool HdPrimTypeIsLight(TfToken const &primType)
#define HD_LIGHT_FILTER_TYPE_TOKENS
HD_API bool HdPrimTypeSupportsGeomSubsets(const TfToken &primType)
#define HD_BPRIMTYPE_TOKENS
#define HD_MATERIALTAG_TOKENS
#define HD_MODEL_DRAWMODE_TOKENS
#define HD_SCENE_INDEX_EMULATION_TOKENS
#define HD_ASPECT_RATIO_CONFORM_POLICY
#define HD_RESOURCE_TYPE_TOKENS
std::vector< TfToken > TfTokenVector
Convenience types.
#define HD_RENDERTAG_TOKENS
#define HD_PRIMTYPE_TOKENS
#define HD_RPRIMTYPE_TOKENS
ARCH_PRAGMA_PUSH ARCH_PRAGMA_MACRO_TOO_FEW_ARGUMENTS TF_DECLARE_PUBLIC_TOKENS(GusdTokens, GUSD_TOKENS)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define HD_SPRIMTYPE_TOKENS
#define HD_RENDER_CONTEXT_TOKENS
HD_API TfToken HdAovTokensMakeLpe(TfToken const &lpe)
#define PXR_NAMESPACE_CLOSE_SCOPE
#define HD_PRIMVAR_ROLE_TOKENS
#define HD_LIGHT_TYPE_TOKENS
#define HD_RENDER_SETTINGS_PRIM_TOKENS
#define HD_CULLSTYLE_TOKENS
#define HD_RENDER_SETTINGS_TOKENS
HD_API bool HdPrimTypeIsGprim(TfToken const &primType)