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"
14PXR_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);
25namespace HdsiDomeLightCameraVisibilitySceneIndex_Impl
27class _CameraVisibilityDataSource;
28using _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;
84PXR_NAMESPACE_CLOSE_SCOPE
Abstract interface to scene data.
Scene Index that overrides the cameraVisibility of each dome light.
HDSI_API HdSceneIndexPrim GetPrim(const SdfPath &primPath) const override
Returns a pair of (prim type, datasource).
HDSI_API SdfPathVector GetChildPrimPaths(const SdfPath &primPath) const override
Returns the paths of all scene index prims located immediately below primPath.
A path value used to locate objects in layers or scenegraphs.
#define TF_DECLARE_WEAK_AND_REF_PTRS(type)
Define standard weak, ref, and vector pointer types.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Small struct representing a 'prim' in the Hydra scene index.