Loading...
Searching...
No Matches
dependencySceneIndexPlugin.h
1//
2// Copyright 2022 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6
7#ifndef EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_DEPENDENCY_SCENE_INDEX_PLUGIN_H
8#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_DEPENDENCY_SCENE_INDEX_PLUGIN_H
9
10#include "pxr/imaging/hd/dataSource.h"
11#include "pxr/imaging/hd/sceneIndexObserver.h"
12#include "pxr/imaging/hd/sceneIndexPlugin.h"
13
14#include "pxr/pxr.h"
15
16PXR_NAMESPACE_OPEN_SCOPE
17
37class HdPrman_DependencySceneIndexPlugin : public HdSceneIndexPlugin
38{
39public:
41
42protected:
43 HdSceneIndexBaseRefPtr _AppendSceneIndex(
44 const HdSceneIndexBaseRefPtr &inputScene,
45 const HdContainerDataSourceHandle &inputArgs) override;
46};
47
48PXR_NAMESPACE_CLOSE_SCOPE
49
50#endif // EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_DEPENDENCY_SCENE_INDEX_PLUGIN_H
Plugin adds a scene index that declares hdprman-specific dependencies to trigger the necessary invali...