Loading...
Searching...
No Matches
sceneIndexPlugin.h
1//
2// Copyright 2021 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_IMAGING_HD_SCENE_INDEX_PLUGIN_H
8#define PXR_IMAGING_HD_SCENE_INDEX_PLUGIN_H
9
10#include "pxr/pxr.h"
11#include "pxr/imaging/hd/api.h"
12#include "pxr/imaging/hf/pluginBase.h"
13#include "pxr/imaging/hd/sceneIndex.h"
14
15PXR_NAMESPACE_OPEN_SCOPE
16
17class HdSceneIndexPlugin : public HfPluginBase
18{
19public:
20
21 HD_API
22 HdSceneIndexBaseRefPtr AppendSceneIndex(
23 const std::string &renderInstanceId,
24 const HdSceneIndexBaseRefPtr &inputScene,
25 const HdContainerDataSourceHandle &inputArgs);
26
27protected:
28
33 HD_API
34 virtual HdSceneIndexBaseRefPtr _AppendSceneIndex(
35 const HdSceneIndexBaseRefPtr &inputScene,
36 const HdContainerDataSourceHandle &inputArgs);
37
48 HD_API
49 virtual HdSceneIndexBaseRefPtr _AppendSceneIndex(
50 const std::string &renderInstanceId,
51 const HdSceneIndexBaseRefPtr &inputScene,
52 const HdContainerDataSourceHandle &inputArgs);
53
54 HdSceneIndexPlugin() = default;
55 HD_API
56 ~HdSceneIndexPlugin() override;
57
58};
59
60PXR_NAMESPACE_CLOSE_SCOPE
61
62#endif // PXR_IMAGING_HD_SCENE_INDEX_PLUGIN_H
Base class for all hydra plugin classes.
Definition: pluginBase.h:23