Loading...
Searching...
No Matches
rileyFallbackMaterialSceneIndexPlugin.h
1//
2// Copyright 2024 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
8
9#ifndef EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_FALLBACK_MATERIAL_SCENE_INDEX_PLUGIN_H
10#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_FALLBACK_MATERIAL_SCENE_INDEX_PLUGIN_H
11
12#include "pxr/pxr.h"
13#include "pxr/imaging/hd/sceneIndexPlugin.h"
14#include "hdPrman/api.h"
15
16PXR_NAMESPACE_OPEN_SCOPE
17
26 : public HdSceneIndexPlugin
27{
28public:
30
31 static const SdfPath &GetFallbackMaterialPath();
32
33protected:
34 HdSceneIndexBaseRefPtr _AppendSceneIndex(
35 const HdSceneIndexBaseRefPtr &inputScene,
36 const HdContainerDataSourceHandle &inputArgs) override;
37};
38
39PXR_NAMESPACE_CLOSE_SCOPE
40
41#endif // EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_RILEY_FALLBACK_MATERIAL_SCENE_INDEX_PLUGIN_H
42
Prman scene index adding hard-coded fallback material.
A path value used to locate objects in layers or scenegraphs.
Definition: path.h:274