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"
14PXR_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;
93PXR_NAMESPACE_CLOSE_SCOPE
Abstract interface to scene data.
Transfers primvars present on the locally bound material.
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Small struct representing a 'prim' in the Hydra scene index.