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 HdSceneIndexBaseRefPtr &inputScene,
24 const HdContainerDataSourceHandle &inputArgs);
25
26protected:
27
32 HD_API
33 virtual HdSceneIndexBaseRefPtr _AppendSceneIndex(
34 const HdSceneIndexBaseRefPtr &inputScene,
35 const HdContainerDataSourceHandle &inputArgs);
36
37 HdSceneIndexPlugin() = default;
38 HD_API
39 ~HdSceneIndexPlugin() override;
40
41};
42
43PXR_NAMESPACE_CLOSE_SCOPE
44
45#endif // PXR_IMAGING_HD_SCENE_INDEX_PLUGIN_H
Base class for all hydra plugin classes.
Definition: pluginBase.h:23