6 #ifndef PXR_IMAGING_HDSI_MATERIAL_PRIMVAR_TRANSFER_SCENE_INDEX_H 7 #define PXR_IMAGING_HDSI_MATERIAL_PRIMVAR_TRANSFER_SCENE_INDEX_H 9 #include "pxr/imaging/hdsi/api.h" 10 #include "pxr/imaging/hd/filteringSceneIndex.h" 14 PXR_NAMESPACE_OPEN_SCOPE
47 using ComposeFn = std::function<
48 HdDataSourceBaseHandle(
49 HdContainerDataSourceHandle
const&,
50 HdContainerDataSourceHandle
const&,
55 static HdDataSourceBaseHandle
57 HdContainerDataSourceHandle
const& dsStrong,
58 HdContainerDataSourceHandle
const& dsWeak,
62 static HdsiMaterialPrimvarTransferSceneIndexRefPtr
63 New(
const HdSceneIndexBaseRefPtr& inputSceneIndex,
64 const ComposeFn& composeFn = ComposeFn());
86 const HdSceneIndexBaseRefPtr& inputSceneIndex,
87 const ComposeFn& composeFn);
90 const ComposeFn _composeFn;
93 PXR_NAMESPACE_CLOSE_SCOPE
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
Small struct representing a 'prim' in the Hydra scene index.
Token for efficient comparison, assignment, and hashing of known strings.
Abstract interface to scene data.
A path value used to locate objects in layers or scenegraphs.
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Transfers primvars present on the locally bound material.