HDK
|
#include <userProcessingFunc.h>
Public Member Functions | |
USDUTILS_API | UsdUtilsDependencyInfo ()=default |
USDUTILS_API | UsdUtilsDependencyInfo (const std::string &assetPath) |
USDUTILS_API | UsdUtilsDependencyInfo (const std::string &assetPath, const std::vector< std::string > &dependencies) |
USDUTILS_API const std::string & | GetAssetPath () const |
USDUTILS_API const std::vector < std::string > & | GetDependencies () const |
bool | operator== (const UsdUtilsDependencyInfo &rhs) const |
Equality: Asset path and dependencies are the same. More... | |
bool | operator!= (const UsdUtilsDependencyInfo &rhs) const |
Class containing information from a processed dependency. A UsdUtilsDependencyInfo object is passed into the user processing function and contains relevant asset path and dependency information. Additionally, a UsdUtilsDependencyInfo object is also returned from the user processing function and communicates back to the asset localization routine any changes that were made during processing.
Definition at line 45 of file userProcessingFunc.h.
|
default |
|
inlineexplicit |
Definition at line 48 of file userProcessingFunc.h.
|
inline |
Definition at line 51 of file userProcessingFunc.h.
|
inline |
Returns the asset value path for the dependency. When UsdUtilsDependencyInfo is returned as a parameter from a user processing function, the localization system compares the value with the value that was originally authored in the layer.
If the values are the same, no special action is taken and processing will continue as normal.
If the returned value is an empty string, the system will ignore this path as well as any dependencies associated with it.
If the returned value differs from what what was originally authored into the layer, the system will instead operate on the updated. value. If the updated path can be opened as a layer, it will be enqueued and searched for additional dependencies.
Definition at line 71 of file userProcessingFunc.h.
|
inline |
Returns a list of dependencies related to the asset path. Paths in this vector are specified relative to their containing layer. When passed into the user processing function, if this array is populated, then the asset path resolved to one or more values, such as in the case of UDIM tiles or clip asset path template strings.
When this structure is returned from a processing function, each path contained within will in turn be processed by the system. Any path that can be opened as a layer, will be enqueued and searched for additional dependencies.
Definition at line 85 of file userProcessingFunc.h.
|
inline |
Inequality operator
Definition at line 97 of file userProcessingFunc.h.
|
inline |
Equality: Asset path and dependencies are the same.
Definition at line 90 of file userProcessingFunc.h.