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) \
137 (refinedSolidWireOnSurf) \
142 #define HD_CULLSTYLE_TOKENS \
147 (backUnlessDoubleSided) \
148 (frontUnlessDoubleSided)
150 #define HD_MODEL_DRAWMODE_TOKENS \
155 ((default_, "default")) \
160 #define HD_PERF_TOKENS \
162 (basisCurvesTopology) \
163 (bufferSourcesResolved) \
164 (bufferArrayRangeMigrated) \
165 (bufferArrayRangeContainerResized) \
167 (computationsCommitted) \
171 (dirtyListsRebuilt) \
173 (garbageCollectedSsbo) \
174 (garbageCollectedUbo) \
175 (garbageCollectedVbo) \
177 (instBasisCurvesTopology) \
178 (instBasisCurvesTopologyRange) \
179 (instExtComputationDataRange) \
181 (instMeshTopologyRange) \
183 (instVertexAdjacency) \
186 (numCompletedSamples) \
189 (quadrangulateFaceVarying) \
190 (quadrangulatedVerts) \
194 (skipInvisibleRprimSync) \
196 (subdivisionRefineCPU) \
197 (subdivisionRefineGPU) \
199 (triangulateFaceVarying) \
204 #define HD_SHADER_TOKENS \
207 (commonShaderSource) \
213 (displacementShader) \
216 (imageToWorldMatrix) \
217 (imageToHorizontallyNormalizedFilmback) \
219 (lightingBlendAmount) \
225 (pointSelectedSize) \
228 (tessControlShader) \
230 (postTessControlShader) \
231 (postTessVertexShader) \
236 (worldToViewMatrix) \
237 (worldToViewInverseMatrix) \
243 #define HD_MATERIALTAG_TOKENS \
248 #define HD_MATERIAL_TERMINAL_TOKENS \
257 #define HD_RENDERTAG_TOKENS \
264 #define HD_RENDER_CONTEXT_TOKENS \
267 #define HD_OPTION_TOKENS \
270 #define HD_RPRIMTYPE_TOKENS \
291 #define HD_LIGHT_TYPE_TOKENS \
303 #define HD_LIGHT_FILTER_TYPE_TOKENS \
306 #define HD_SPRIMTYPE_TOKENS \
319 HD_LIGHT_TYPE_TOKENS \
320 HD_LIGHT_FILTER_TYPE_TOKENS \
325 #define HD_BPRIMTYPE_TOKENS \
330 #define HD_PRIMTYPE_TOKENS \
331 HD_RPRIMTYPE_TOKENS \
332 HD_SPRIMTYPE_TOKENS \
333 HD_BPRIMTYPE_TOKENS \
350 #define HD_PRIMVAR_ROLE_TOKENS \
362 #define HD_AOV_TOKENS \
408 ((primvars, "primvars:")) \
426 ((shader, "shader:"))
438 #define HD_RENDER_SETTINGS_TOKENS \
441 (enableSceneMaterials) \
442 (enableSceneLights) \
443 (enableExposureCompensation) \
444 (domeLightCameraVisibility) \
446 (convergedVariance) \
447 (convergedSamplesPerPixel) \
451 (enableInteractive) \
455 #define HD_RENDER_SETTINGS_PRIM_TOKENS \
457 (namespacedSettings) \
460 (materialBindingPurposes) \
461 (renderingColorSpace) \
462 (unionedSamplingInterval) \
464 (disableDepthOfField) \
469 #define HD_ASPECT_RATIO_CONFORM_POLICY \
470 (adjustApertureWidth) \
471 (adjustApertureHeight) \
474 (adjustPixelAspectRatio) \
476 #define HD_RESOURCE_TYPE_TOKENS \
480 #define HD_SCENE_INDEX_EMULATION_TOKENS \
487 #define HD_COLLECTION_EMULATION_TOKENS \
488 ((lightLinkCollection, "lightLink")) \
489 ((shadowLinkCollection, "shadowLink")) \
490 ((filterLinkCollection, "filterLink")) \
491 (lightLinkCollectionMembershipExpression) \
492 (shadowLinkCollectionMembershipExpression) \
493 (filterLinkCollectionMembershipExpression)
496 #define HD_SKINNING_INPUT_TOKENS \
497 ((skinningXforms, "hydra:skinningXforms")) \
498 ((skinningDualQuats, "hydra:skinningDualQuats")) \
499 ((skinningScaleXforms, "hydra:skinningScaleXforms")) \
500 ((blendShapeWeights, "hydra:blendShapeWeights")) \
501 ((skelLocalToCommonSpace, "hydra:skelLocalToWorld")) \
502 ((commonSpaceToPrimLocal, "hydra:primWorldToLocal")) \
503 ((blendShapeOffsets, "hydra:blendShapeOffsets")) \
504 ((blendShapeOffsetRanges, "hydra:blendShapeOffsetRanges")) \
505 ((numBlendShapeOffsetRanges, "hydra:numBlendShapeOffsetRanges")) \
507 ((hasConstantInfluences, "hydra:hasConstantInfluences")) \
508 ((numInfluencesPerComponent, "hydra:numInfluencesPerComponent")) \
509 ((influences, "hydra:influences")) \
513 ((numSkinningMethod, "hydra:numSkinningMethod")) \
517 ((numJoints, "hydra:numJoints")) \
518 ((numBlendShapeWeights, "hydra:numBlendShapeWeights"))
521 #define HD_SKINNING_SKEL_INPUT_TOKENS \
533 ((geomBindTransform, "skel:geomBindTransform"))
576 #endif //PXR_IMAGING_HD_TOKENS_H
#define HD_MATERIAL_TERMINAL_TOKENS
#define HD_SKINNING_INPUT_TOKENS
#define HD_COLLECTION_EMULATION_TOKENS
HD_API const TfTokenVector & HdLightPrimTypeTokens()
#define HD_SKINNING_SKEL_INPUT_TOKENS
#define HD_INSTANCER_TOKENS
HD_API TfToken HdAovTokensMakePrimvar(TfToken const &primvar)
#define PXR_NAMESPACE_OPEN_SCOPE
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)
#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)