Loading...
Searching...
No Matches
matfiltSceneIndexPlugins.h
1//
2// Copyright 2025 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_MAT_FILT_SCENE_INDEX_PLUGINS_H
8#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_MAT_FILT_SCENE_INDEX_PLUGINS_H
9
10#include "pxr/pxr.h"
11#include "pxr/imaging/hd/sceneIndexPlugin.h"
12#include "pxr/imaging/hd/sceneIndexPluginRegistry.h"
13#include "pxr/imaging/hd/version.h"
14#include "hdPrman/api.h"
15
16PXR_NAMESPACE_OPEN_SCOPE
17
36class HdPrman_MatFiltSceneIndexPlugin : public HdSceneIndexPlugin
37{
38public:
40
41 // Returns the insertion phase to avoid hard-coding it in plugins that need
42 // to go before or after material filtering.
43 HDPRMAN_API
44 static
45 HdSceneIndexPluginRegistry::InsertionPhase GetInsertionPhase();
46
47protected:
48 HdSceneIndexBaseRefPtr _AppendSceneIndex(
49 const HdSceneIndexBaseRefPtr &inputScene,
50 const HdContainerDataSourceHandle &inputArgs) override;
51};
52
53PXR_NAMESPACE_CLOSE_SCOPE
54
55#endif //EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_MAT_FILT_SCENE_INDEX_PLUGINS_H
XXX The declarations below se can be moved to the cpp.