24 #ifndef PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_MATERIAL_H 25 #define PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_MATERIAL_H 27 #include "pxr/imaging/hd/dataSource.h" 31 #include "pxr/usdImaging/usdImaging/dataSourcePrim.h" 32 #include "pxr/usdImaging/usdImaging/dataSourceStageGlobals.h" 34 #include <tbb/concurrent_unordered_map.h> 36 PXR_NAMESPACE_OPEN_SCOPE
51 HdDataSourceBaseHandle
Get(
const TfToken &name)
override;
67 using _ContextMap = tbb::concurrent_unordered_map<
70 _ContextMap _networks;
75 PXR_NAMESPACE_CLOSE_SCOPE
77 #endif //PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_MATERIAL_H A data source mapping to HdMaterialSchema from an UsdShadeMaterial prim.
Functor to use for hash maps from tokens to other things.
A datasource representing structured (named, hierarchical) data, for example a geometric primitive or...
Token for efficient comparison, assignment, and hashing of known strings.
HdDataSourceBaseHandle Get(const TfToken &name) override
Returns the child datasource of the given name.
This class is used as a context object with global stage information, that gets passed down to dataso...
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
std::vector< TfToken > TfTokenVector
Convenience types.
TfTokenVector GetNames() override
Returns the list of names for which Get(...) is expected to return a non-null value.
bool Has(const TfToken &name) override
Returns true if the container has a child datasource of the given name, in which case Get(name) is ex...