6 #ifndef PXR_IMAGING_HDSI_DOME_LIGHT_CAMERA_VISIBILITY_SCENE_INDEX_H 7 #define PXR_IMAGING_HDSI_DOME_LIGHT_CAMERA_VISIBILITY_SCENE_INDEX_H 11 #include "pxr/imaging/hd/filteringSceneIndex.h" 12 #include "pxr/imaging/hdsi/api.h" 14 PXR_NAMESPACE_OPEN_SCOPE
16 #define HDSI_DOME_LIGHT_CAMERA_VISIBILITY_SCENE_INDEX_TOKENS \ 20 HdsiDomeLightCameraVisibilitySceneIndexTokens, HDSI_API,
21 HDSI_DOME_LIGHT_CAMERA_VISIBILITY_SCENE_INDEX_TOKENS);
25 namespace HdsiDomeLightCameraVisibilitySceneIndex_Impl
27 class _CameraVisibilityDataSource;
28 using _CameraVisibilityDataSourceHandle =
29 std::shared_ptr<_CameraVisibilityDataSource>;
44 static HdsiDomeLightCameraVisibilitySceneIndexRefPtr
45 New(HdSceneIndexBaseRefPtr
const &inputSceneIndex);
48 void SetDomeLightCameraVisibility(
bool visibility);
73 HdSceneIndexBaseRefPtr
const &inputSceneIndex);
78 HdsiDomeLightCameraVisibilitySceneIndex_Impl::
79 _CameraVisibilityDataSourceHandle
const _cameraVisibilityDataSource;
81 SdfPathSet _domeLightPaths;
84 PXR_NAMESPACE_CLOSE_SCOPE
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
Small struct representing a 'prim' in the Hydra scene index.
Scene Index that overrides the cameraVisibility of each dome light.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Abstract interface to scene data.
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
A path value used to locate objects in layers or scenegraphs.