7#ifndef PXR_IMAGING_HD_RENDER_INDEX_ADAPTER_SCENE_INDEX_H
8#define PXR_IMAGING_HD_RENDER_INDEX_ADAPTER_SCENE_INDEX_H
12#include "pxr/imaging/hd/sceneIndex.h"
14PXR_NAMESPACE_OPEN_SCOPE
16class HdRenderDelegate;
18struct HdRenderDelegateInfo;
30 static HdRenderIndexAdapterSceneIndexRefPtr New(
31 HdContainerDataSourceHandle
const &inputArgs)
36 static HdRenderIndexAdapterSceneIndexRefPtr New(
37 const HdRenderDelegateInfo &info)
42 HdRenderIndex * GetRenderIndex()
const {
return _renderIndex.get(); }
56 HdContainerDataSourceHandle
const &inputArgs);
61 std::unique_ptr<HdRenderDelegate>
const _renderDelegate;
62 std::unique_ptr<HdRenderIndex>
const _renderIndex;
64 friend class _Observer;
75 const AddedPrimEntries &entries)
override;
80 const RemovedPrimEntries &entries)
override;
85 const DirtiedPrimEntries &entries)
override;
90 const RenamedPrimEntries &entries)
override;
98PXR_NAMESPACE_CLOSE_SCOPE
A scene index for "front-end" emulation.
HD_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
HD_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
The render index is part of the Hydra 1.0 API and is only used for emulation purposes so that HdScene...
Abstract interface to scene data.
A path value used to locate objects in layers or scenegraphs.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Small struct representing a 'prim' in the Hydra scene index.