7#ifndef EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_DISPLAY_COLOR_SPACE_SCENE_INDEX_PLUGIN_H
8#define EXT_RMANPKG_PLUGIN_RENDERMAN_PLUGIN_HD_PRMAN_DISPLAY_COLOR_SPACE_SCENE_INDEX_PLUGIN_H
11#if PXR_VERSION >= 2308
13#include "pxr/imaging/hd/sceneIndexPlugin.h"
14#include "hdPrman/api.h"
16PXR_NAMESPACE_OPEN_SCOPE
29class HdPrman_DisplayColorSpaceSceneIndexPlugin :
33 HdPrman_DisplayColorSpaceSceneIndexPlugin();
38 using ColorSpaceRemappingCallback =
TfToken (*) (
const TfToken& csName);
40 RegisterColorSpaceRemappingCallback(
41 const ColorSpaceRemappingCallback& callback);
46 using DisableTransformCallback = bool (*) (
const HdSceneIndexBaseRefPtr &si);
48 RegisterDisableTransformCallback(
49 const DisableTransformCallback& callback);
50 static bool DisableTransform(
const HdSceneIndexBaseRefPtr& si);
55 const HdSceneIndexBaseRefPtr &inputScene,
56 const HdContainerDataSourceHandle &inputArgs)
override;
59PXR_NAMESPACE_CLOSE_SCOPE
A scene index plugin bundles one or more (typically filtering) scene indices together and enables the...
virtual HD_API HdSceneIndexBaseRefPtr _AppendSceneIndex(const HdSceneIndexBaseRefPtr &inputScene, const HdContainerDataSourceHandle &inputArgs)
Subclasses implement this to instantiate one or more scene indicies which take the provided scene as ...
Token for efficient comparison, assignment, and hashing of known strings.