7 #ifndef PXR_IMAGING_HDSI_SCENE_GLOBALS_SCENE_INDEX_H 8 #define PXR_IMAGING_HDSI_SCENE_GLOBALS_SCENE_INDEX_H 10 #include "pxr/imaging/hdsi/api.h" 12 #include "pxr/imaging/hd/filteringSceneIndex.h" 13 #include "pxr/usd/sdf/path.h" 15 PXR_NAMESPACE_OPEN_SCOPE
20 #define HDSI_SGSI_API_VERSION 2 32 static HdsiSceneGlobalsSceneIndexRefPtr
33 New(
const HdSceneIndexBaseRefPtr &inputSceneIndex);
108 class _SceneGlobalsSchemaDataSource;
109 using _SceneGlobalsSchemaDataSourceHandle =
110 std::shared_ptr<_SceneGlobalsSchemaDataSource>;
112 const _SceneGlobalsSchemaDataSourceHandle _sceneGlobalsSchemaDataSource;
115 PXR_NAMESPACE_CLOSE_SCOPE
117 #endif //PXR_IMAGING_HDSI_SCENE_GLOBALS_SCENE_INDEX_H
HDSI_API void SetActiveRenderSettingsPrimPath(const SdfPath &)
Caches the provided path and notifies any observers when the active render settings prim path is modi...
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
HDSI_API void SetCurrentFrame(double)
Set the frame number to use the as the currentFrame in the scene globals schema.
Small struct representing a 'prim' in the Hydra scene index.
HDSI_API void SetTimeCodesPerSecond(double)
Set the timeCodesPerSecond to use the as the currentFrame in the scene globals schema.
HDSI_API void SetActiveRenderPassPrimPath(const SdfPath &)
Caches the provided path and notifies any observers when the active render pass prim path is modified...
Abstract interface to scene data.
A path value used to locate objects in layers or scenegraphs.
HDSI_API void SetPrimaryCameraPrimPath(const SdfPath &)
Set the path to use as the primaryCameraPrim in the scene globals schema.
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override final
Returns the paths of all scene index prims located immediately below primPath.
Scene index that populates the "sceneGlobals" data source as modeled by HdSceneGlobalsSchema and prov...
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override final
Returns a pair of (prim type, datasource).
HDSI_API void SetSceneStateId(int)
Injects an arbitrary value that identifies the state of the input scene at that point in time.