24 #ifndef PXR_IMAGING_HD_SCENE_EXT_COMP_INPUT_SOURCE_H
25 #define PXR_IMAGING_HD_SCENE_EXT_COMP_INPUT_SOURCE_H
28 #include "pxr/imaging/hd/api.h"
29 #include "pxr/imaging/hd/version.h"
30 #include "pxr/imaging/hd/extCompInputSource.h"
32 #include "pxr/base/vt/value.h"
34 PXR_NAMESPACE_OPEN_SCOPE
40 class Hd_SceneExtCompInputSource :
public Hd_ExtCompInputSource {
44 Hd_SceneExtCompInputSource(
const TfToken &inputName,
const VtValue &value);
47 virtual ~Hd_SceneExtCompInputSource() =
default;
51 virtual bool Resolve()
override;
55 virtual const VtValue &GetValue()
const override;
65 Hd_SceneExtCompInputSource() =
delete;
66 Hd_SceneExtCompInputSource(
const Hd_SceneExtCompInputSource &) =
delete;
67 Hd_SceneExtCompInputSource &operator = (
const Hd_SceneExtCompInputSource &)
71 PXR_NAMESPACE_CLOSE_SCOPE
73 #endif // PXR_IMAGING_HD_SCENE_EXT_COMP_INPUT_SOURCE_H
Token for efficient comparison, assignment, and hashing of known strings.
virtual bool _CheckValid() const =0
Checks the validity of the source buffer.
Provides a container which may hold any type, and provides introspection and iteration over array typ...
virtual bool Resolve()=0
Prepare the access of GetData().