HDK
|
#include <tokens.h>
Public Member Functions | |
USDSHADE_API | UsdShadeTokensType () |
UsdShadeTokens provides static, efficient TfTokens for use in all public USD API.
These tokens are auto-generated from the module's schema, representing property names, for when you need to fetch an attribute or relationship directly by name, e.g. UsdPrim::GetAttribute(), in the most efficient manner, and allow the compiler to verify that you spelled the name correctly.
UsdShadeTokens also contains all of the allowedTokens values declared for schema builtin attributes of 'token' scene description type. Use UsdShadeTokens like so:
USDSHADE_API UsdShadeTokensType::UsdShadeTokensType | ( | ) |
const TfToken UsdShadeTokensType::allPurpose |
""
Possible value for the 'materialPurpose' parameter in the various methods available in UsdShadeMaterialBindingAPI. Its value is empty and its purpose is to represent a general purpose material-binding that applies in the absence of a specific-purpose binding.
const std::vector<TfToken> UsdShadeTokensType::allTokens |
const TfToken UsdShadeTokensType::bindMaterialAs |
const TfToken UsdShadeTokensType::ConnectableAPI |
"ConnectableAPI"
Schema identifer and family for UsdShadeConnectableAPI
const TfToken UsdShadeTokensType::coordSys |
"coordSys"
Property namespace prefix for the UsdShadeCoordSysAPI schema.
const TfToken UsdShadeTokensType::coordSys_MultipleApplyTemplate_Binding |
const TfToken UsdShadeTokensType::CoordSysAPI |
"CoordSysAPI"
Schema identifer and family for UsdShadeCoordSysAPI
const TfToken UsdShadeTokensType::displacement |
"displacement"
Describes the displacement output terminal on a UsdShadeMaterial. It is used to define the terminal UsdShadeShader describing the displacement of a UsdShadeMaterial.
const TfToken UsdShadeTokensType::fallbackStrength |
"fallbackStrength"
Sentinal value to be used for 'bindMaterialAs' metadata's default value. Clients should pass this in for the 'bindingStrength' argument to UsdShadeMaterialBindingAPI::Bind(), if they want to author the default value (weakerThanDescendants) sparsely. The value "fallbackStrength" never gets authored into scene description.
const TfToken UsdShadeTokensType::full |
"full"
Possible value for the 'materialPurpose' parameter in UsdShadeMaterialBindingAPI, to be used when the purpose of the render is entirely about visualizing the truest representation of a scene, considering all lighting and material information, at highest fidelity. , Possible value for 'connectability' metadata on a UsdShadeInput. When connectability of an input is set to "full", it implies that it can be connected to any input or output.
const TfToken UsdShadeTokensType::id |
"id"
Fallback value for UsdShadeNodeDefAPI::GetImplementationSourceAttr()
const TfToken UsdShadeTokensType::infoId |
const TfToken UsdShadeTokensType::infoImplementationSource |
const TfToken UsdShadeTokensType::inputs |
const TfToken UsdShadeTokensType::interfaceOnly |
"interfaceOnly"
Possible value for 'connectability' metadata on a UsdShadeInput. It implies that the input can only connect to a NodeGraph Input (which represents an interface override, not a render-time dataflow connection), or another Input whose connectability is also 'interfaceOnly'.
const TfToken UsdShadeTokensType::Material |
"Material"
Schema identifer and family for UsdShadeMaterial
const TfToken UsdShadeTokensType::materialBind |
const TfToken UsdShadeTokensType::materialBinding |
"material:binding"
The relationship name on non-shading prims to denote a binding to a UsdShadeMaterial.
const TfToken UsdShadeTokensType::MaterialBindingAPI |
"MaterialBindingAPI"
Schema identifer and family for UsdShadeMaterialBindingAPI
const TfToken UsdShadeTokensType::materialBindingCollection |
"material:binding:collection"
The relationship name on non-shading prims to denote a collection-based binding to a UsdShadeMaterial.
const TfToken UsdShadeTokensType::materialVariant |
"materialVariant"
The variant name of material variation described on a UsdShadeMaterial.
const TfToken UsdShadeTokensType::NodeDefAPI |
"NodeDefAPI"
Schema identifer and family for UsdShadeNodeDefAPI
const TfToken UsdShadeTokensType::NodeGraph |
"NodeGraph"
Schema identifer and family for UsdShadeNodeGraph
const TfToken UsdShadeTokensType::outputs |
const TfToken UsdShadeTokensType::outputsDisplacement |
const TfToken UsdShadeTokensType::outputsSurface |
const TfToken UsdShadeTokensType::outputsVolume |
const TfToken UsdShadeTokensType::preview |
"preview"
Possible value for the 'materialPurpose' parameter in UsdShadeMaterialBindingAPI, to be used when the render is in service of a goal other than a high fidelity "full" render (such as scene manipulation, modeling, or realtime playback). Latency and speed are generally of greater concern for preview renders, therefore preview materials are generally designed to be "lighterweight" compared to full materials.
const TfToken UsdShadeTokensType::sdrMetadata |
"sdrMetadata"
Dictionary valued metadata key authored on Shader prims with implementationSource value of sourceAsset or sourceCode to pass along metadata to the shader parser or compiler. It is also used to author metadata on shader properties in a UsdShade-based shader definition file.
const TfToken UsdShadeTokensType::Shader |
const TfToken UsdShadeTokensType::sourceAsset |
"sourceAsset"
Possible value for UsdShadeNodeDefAPI::GetImplementationSourceAttr()
const TfToken UsdShadeTokensType::sourceCode |
"sourceCode"
Possible value for UsdShadeNodeDefAPI::GetImplementationSourceAttr()
const TfToken UsdShadeTokensType::strongerThanDescendants |
const TfToken UsdShadeTokensType::subIdentifier |
const TfToken UsdShadeTokensType::surface |
"surface"
Describes the surface output terminal on a UsdShadeMaterial. It is used to define the terminal UsdShadeShader describing the surface of a UsdShadeMaterial.
const TfToken UsdShadeTokensType::universalRenderContext |
""
Possible value for the "renderContext" parameter in UsdShadeMaterial_Outputs API. Represents the universal renderContext. An output with a universal renderContext is applicable to all possible rendering contexts.
const TfToken UsdShadeTokensType::universalSourceType |
""
Possible value for the "sourceType" parameter in UsdShadeNodeDefAPI_ImplementationSource API. Represents the universal or fallback source type.
const TfToken UsdShadeTokensType::volume |
"volume"
Describes the volume output terminal on a UsdShadeMaterial. It is used to define the terminal UsdShadeShader describing the volume of a UsdShadeMaterial.
const TfToken UsdShadeTokensType::weakerThanDescendants |