HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
tokens.h File Reference
+ Include dependency graph for tokens.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HD_TOKENS
 
#define HD_INSTANCER_TOKENS
 
#define HD_REPR_TOKENS
 
#define HD_CULLSTYLE_TOKENS
 
#define HD_MODEL_DRAWMODE_TOKENS
 
#define HD_PERF_TOKENS
 
#define HD_SHADER_TOKENS
 
#define HD_MATERIALTAG_TOKENS   (defaultMaterialTag)
 
#define HD_MATERIAL_TERMINAL_TOKENS
 
#define HD_RENDERTAG_TOKENS
 
#define HD_RENDER_CONTEXT_TOKENS   ((universal, ""))
 
#define HD_OPTION_TOKENS   (parallelRprimSync)
 
#define HD_RPRIMTYPE_TOKENS
 
#define HD_SPRIMTYPE_TOKENS
 
#define HD_BPRIMTYPE_TOKENS
 
#define HD_PRIMTYPE_TOKENS
 
#define HD_PRIMVAR_ROLE_TOKENS
 
#define HD_AOV_TOKENS
 
#define HD_RENDER_SETTINGS_TOKENS
 
#define HD_RENDER_SETTINGS_PRIM_TOKENS
 
#define HD_ASPECT_RATIO_CONFORM_POLICY
 
#define HD_RESOURCE_TYPE_TOKENS
 
#define HD_SCENE_INDEX_EMULATION_TOKENS   (sceneDelegate) \
 

Functions

HD_API bool HdPrimTypeIsGprim (TfToken const &primType)
 
HD_API bool HdPrimTypeIsLight (TfToken const &primType)
 
HD_API const TfTokenVectorHdLightPrimTypeTokens ()
 
HD_API TfToken HdAovTokensMakePrimvar (TfToken const &primvar)
 
HD_API TfToken HdAovTokensMakeLpe (TfToken const &lpe)
 
HD_API TfToken HdAovTokensMakeShader (TfToken const &shader)
 
 TF_DECLARE_PUBLIC_TOKENS (HdTokens, HD_API, HD_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdInstancerTokens, HD_API, HD_INSTANCER_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdReprTokens, HD_API, HD_REPR_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdCullStyleTokens, HD_API, HD_CULLSTYLE_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdModelDrawModeTokens, HD_API, HD_MODEL_DRAWMODE_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdPerfTokens, HD_API, HD_PERF_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdShaderTokens, HD_API, HD_SHADER_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdMaterialTagTokens, HD_API, HD_MATERIALTAG_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdMaterialTerminalTokens, HD_API, HD_MATERIAL_TERMINAL_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdRenderTagTokens, HD_API, HD_RENDERTAG_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdRenderContextTokens, HD_API, HD_RENDER_CONTEXT_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdOptionTokens, HD_API, HD_OPTION_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdRprimTypeTokens, HD_API, HD_RPRIMTYPE_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdSprimTypeTokens, HD_API, HD_SPRIMTYPE_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdBprimTypeTokens, HD_API, HD_BPRIMTYPE_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdPrimTypeTokens, HD_API, HD_PRIMTYPE_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdPrimvarRoleTokens, HD_API, HD_PRIMVAR_ROLE_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdAovTokens, HD_API, HD_AOV_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdRenderSettingsTokens, HD_API, HD_RENDER_SETTINGS_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdRenderSettingsPrimTokens, HD_API, HD_RENDER_SETTINGS_PRIM_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdAspectRatioConformPolicyTokens, HD_API, HD_ASPECT_RATIO_CONFORM_POLICY)
 
 TF_DECLARE_PUBLIC_TOKENS (HdResourceTypeTokens, HD_API, HD_RESOURCE_TYPE_TOKENS)
 
 TF_DECLARE_PUBLIC_TOKENS (HdSceneIndexEmulationTokens, HD_API, HD_SCENE_INDEX_EMULATION_TOKENS)
 

Variables

PXR_NAMESPACE_OPEN_SCOPE
HD_API TfEnvSetting< bool > 
HD_USE_DEPRECATED_INSTANCER_PRIMVAR_NAMES
 

Macro Definition Documentation

#define HD_AOV_TOKENS

Definition at line 363 of file tokens.h.

#define HD_ASPECT_RATIO_CONFORM_POLICY
Value:
(adjustApertureWidth) \
(adjustApertureHeight) \
(expandAperture) \
(cropAperture) \
(adjustPixelAspectRatio) \

Definition at line 464 of file tokens.h.

#define HD_BPRIMTYPE_TOKENS
Value:
/* Bprims */ \
(renderBuffer) \
(renderSettings)

Definition at line 332 of file tokens.h.

#define HD_CULLSTYLE_TOKENS
Value:
(dontCare) \
(nothing) \
(back) \
(front) \
(backUnlessDoubleSided) \
(frontUnlessDoubleSided)

Definition at line 165 of file tokens.h.

#define HD_INSTANCER_TOKENS
Value:
(culledInstanceIndices) \
(instancer) \
(instancerTransform) \
(instancerTransformInverse) \
(instanceIndices) \
(instanceIndexBase) \
\
/* New instance xform tokens */ \
((instanceTransforms, "hydra:instanceTransforms")) \
((instanceRotations, "hydra:instanceRotations")) \
((instanceScales, "hydra:instanceScales")) \
((instanceTranslations, "hydra:instanceTranslations")) \
\
/* Deprecated versions of the above */ \
/* To be removed in 2024, along with the */ \
/* HD_USE_DEPRECATED_INSTANCER_PRIMVAR_NAMES env var*/ \
(instanceTransform) \
(rotate) \
(scale) \
GA_API const UT_StringHolder scale
ImageBuf OIIO_API rotate(const ImageBuf &src, float angle, string_view filtername=string_view(), float filterwidth=0.0f, bool recompute_roi=false, ROI roi={}, int nthreads=0)
PUGI__FN char_t * translate(char_t *buffer, const char_t *from, const char_t *to, size_t to_length)
Definition: pugixml.cpp:8352

Definition at line 132 of file tokens.h.

#define HD_MATERIAL_TERMINAL_TOKENS
Value:
(displacement) \
(volume) \
(light) \
(lightFilter)

Definition at line 267 of file tokens.h.

#define HD_MATERIALTAG_TOKENS   (defaultMaterialTag)

Definition at line 262 of file tokens.h.

#define HD_MODEL_DRAWMODE_TOKENS
Value:
(inherited) \
(origin) \
(bounds) \
(cards) \
((default_, "default")) \
(cross) \
(box) \
(fromTexture)
SIM_DerVector3 cross(const SIM_DerVector3 &lhs, const SIM_DerVector3 &rhs)

Definition at line 173 of file tokens.h.

#define HD_OPTION_TOKENS   (parallelRprimSync)

Definition at line 285 of file tokens.h.

#define HD_PERF_TOKENS

Definition at line 183 of file tokens.h.

#define HD_PRIMTYPE_TOKENS
Value:

Definition at line 337 of file tokens.h.

#define HD_PRIMVAR_ROLE_TOKENS
Value:
((none, "")) \
(color) \
(vector) \
(normal) \
(point) \
(textureCoordinate)
GLuint color
Definition: glcorearb.h:1261

Definition at line 351 of file tokens.h.

#define HD_RENDER_CONTEXT_TOKENS   ((universal, ""))

Definition at line 282 of file tokens.h.

#define HD_RENDER_SETTINGS_PRIM_TOKENS
Value:
(active) \
(namespacedSettings) \
(renderProducts) \
(includedPurposes) \
(materialBindingPurposes) \
(renderingColorSpace) \
(shutterInterval)
that also have some descendant prim *whose name begins with which in turn has a child named baz where *the predicate active

Definition at line 453 of file tokens.h.

#define HD_RENDER_SETTINGS_TOKENS
Value:
/* General graphical options */ \
(enableShadows) \
(enableSceneMaterials) \
(enableSceneLights) \
(domeLightCameraVisibility) \
/* Raytracer sampling settings */ \
(convergedVariance) \
(convergedSamplesPerPixel) \
/* thread limit settings */ \
(threadLimit) \
/* interactive vs offline */ \
(enableInteractive)

Definition at line 439 of file tokens.h.

#define HD_RENDERTAG_TOKENS
Value:
(geometry) \
(guide) \
(hidden) \
(proxy) \
(render) \
(widget)
IFDmantra you can see code vm_image_mplay_direction endcode When SOHO starts a render
Definition: HDK_Image.dox:266

Definition at line 274 of file tokens.h.

#define HD_REPR_TOKENS
Value:
(disabled) \
(hull) \
(points) \
(smoothHull) \
(refined) \
(refinedWire) \
(refinedWireOnSurf) \
(wire) \
(wireOnSurf)
GLdouble GLdouble GLint GLint const GLdouble * points
Definition: glad.h:2676

Definition at line 154 of file tokens.h.

#define HD_RESOURCE_TYPE_TOKENS
Value:
(shaderFile)
GLuint texture
Definition: glcorearb.h:415

Definition at line 471 of file tokens.h.

#define HD_RPRIMTYPE_TOKENS
Value:
/* Rprims */ \
(capsule) \
(capsule_1) \
(cone) \
(cube) \
(cylinder) \
(cylinder_1) \
(mesh) \
(nurbsPatch) \
(basisCurves) \
(nurbsCurves) \
(points) \
(sphere) \
(volume) \
(model)
GLdouble GLdouble GLint GLint const GLdouble * points
Definition: glad.h:2676

Definition at line 288 of file tokens.h.

#define HD_SCENE_INDEX_EMULATION_TOKENS   (sceneDelegate) \

Definition at line 475 of file tokens.h.

#define HD_SHADER_TOKENS

Definition at line 225 of file tokens.h.

#define HD_SPRIMTYPE_TOKENS
Value:
/* Sprims */ \
(camera) \
(drawTarget) \
(material) \
(coordSys) \
(instancer) \
(instance) \
(integrator) \
(sampleFilter) \
(displayFilter) \
(imageShader) \
/* Sprims Lights */ \
(simpleLight) \
(cylinderLight) \
(diskLight) \
(distantLight) \
(domeLight) \
(light) \
(lightFilter) \
(meshLight) \
(pluginLight) \
(rectLight) \
(sphereLight) \
/* Sprims ExtComputations */ \
(extComputation) \

Definition at line 305 of file tokens.h.

#define HD_TOKENS

Definition at line 37 of file tokens.h.

Function Documentation

HD_API TfToken HdAovTokensMakeLpe ( TfToken const &  lpe)
HD_API TfToken HdAovTokensMakePrimvar ( TfToken const &  primvar)
HD_API TfToken HdAovTokensMakeShader ( TfToken const &  shader)
HD_API const TfTokenVector& HdLightPrimTypeTokens ( )
HD_API bool HdPrimTypeIsGprim ( TfToken const &  primType)
HD_API bool HdPrimTypeIsLight ( TfToken const &  primType)
TF_DECLARE_PUBLIC_TOKENS ( HdTokens  ,
HD_API  ,
HD_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdInstancerTokens  ,
HD_API  ,
HD_INSTANCER_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdReprTokens  ,
HD_API  ,
HD_REPR_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdCullStyleTokens  ,
HD_API  ,
HD_CULLSTYLE_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdModelDrawModeTokens  ,
HD_API  ,
HD_MODEL_DRAWMODE_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdPerfTokens  ,
HD_API  ,
HD_PERF_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdShaderTokens  ,
HD_API  ,
HD_SHADER_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdMaterialTagTokens  ,
HD_API  ,
HD_MATERIALTAG_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdMaterialTerminalTokens  ,
HD_API  ,
HD_MATERIAL_TERMINAL_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdRenderTagTokens  ,
HD_API  ,
HD_RENDERTAG_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdRenderContextTokens  ,
HD_API  ,
HD_RENDER_CONTEXT_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdOptionTokens  ,
HD_API  ,
HD_OPTION_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdRprimTypeTokens  ,
HD_API  ,
HD_RPRIMTYPE_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdSprimTypeTokens  ,
HD_API  ,
HD_SPRIMTYPE_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdBprimTypeTokens  ,
HD_API  ,
HD_BPRIMTYPE_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdPrimTypeTokens  ,
HD_API  ,
HD_PRIMTYPE_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdPrimvarRoleTokens  ,
HD_API  ,
HD_PRIMVAR_ROLE_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdAovTokens  ,
HD_API  ,
HD_AOV_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdRenderSettingsTokens  ,
HD_API  ,
HD_RENDER_SETTINGS_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdRenderSettingsPrimTokens  ,
HD_API  ,
HD_RENDER_SETTINGS_PRIM_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdAspectRatioConformPolicyTokens  ,
HD_API  ,
HD_ASPECT_RATIO_CONFORM_POLICY   
)
TF_DECLARE_PUBLIC_TOKENS ( HdResourceTypeTokens  ,
HD_API  ,
HD_RESOURCE_TYPE_TOKENS   
)
TF_DECLARE_PUBLIC_TOKENS ( HdSceneIndexEmulationTokens  ,
HD_API  ,
HD_SCENE_INDEX_EMULATION_TOKENS   
)

Variable Documentation

PXR_NAMESPACE_OPEN_SCOPE HD_API TfEnvSetting<bool> HD_USE_DEPRECATED_INSTANCER_PRIMVAR_NAMES