7 #ifndef PXR_IMAGING_HDSI_SCENE_GLOBALS_SCENE_INDEX_H
8 #define PXR_IMAGING_HDSI_SCENE_GLOBALS_SCENE_INDEX_H
21 #define HDSI_SGSI_API_VERSION 2
33 static HdsiSceneGlobalsSceneIndexRefPtr
34 New(
const HdSceneIndexBaseRefPtr &inputSceneIndex);
111 SdfPath _activeRenderPassPrimPath;
112 std::optional<SdfPath> _activeRenderSettingsPrimPath;
113 std::optional<SdfPath> _primaryCameraPrimPath;
114 double _time = std::numeric_limits<double>::quiet_NaN();
115 double _timeCodesPerSecond = 24.0;
116 int _sceneStateId = 0;
121 #endif //PXR_IMAGING_HDSI_SCENE_GLOBALS_SCENE_INDEX_H
friend class _SceneGlobalsDataSource
HDSI_API void _PrimsAdded(const HdSceneIndexBase &sender, const HdSceneIndexObserver::AddedPrimEntries &entries) override
HDSI_API void SetPrimaryCameraPrimPath(const SdfPath &)
HDSI_API void SetCurrentFrame(double)
std::vector< class SdfPath > SdfPathVector
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const overridefinal
PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_WEAK_AND_REF_PTRS(HdsiSceneGlobalsSceneIndex)
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const overridefinal
HDSI_API HdsiSceneGlobalsSceneIndex(const HdSceneIndexBaseRefPtr &inputSceneIndex)
HDSI_API void SetActiveRenderPassPrimPath(const SdfPath &)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HDSI_API void SetActiveRenderSettingsPrimPath(const SdfPath &)
#define PXR_NAMESPACE_CLOSE_SCOPE
HDSI_API void SetTimeCodesPerSecond(double)
HDSI_API void _PrimsDirtied(const HdSceneIndexBase &sender, const HdSceneIndexObserver::DirtiedPrimEntries &entries) override
HDSI_API void _PrimsRemoved(const HdSceneIndexBase &sender, const HdSceneIndexObserver::RemovedPrimEntries &entries) override
static HDSI_API HdsiSceneGlobalsSceneIndexRefPtr New(const HdSceneIndexBaseRefPtr &inputSceneIndex)
HDSI_API void SetSceneStateId(int)