25 #ifndef PXR_IMAGING_HD_EXT_COMP_INPUT_SOURCE_H
26 #define PXR_IMAGING_HD_EXT_COMP_INPUT_SOURCE_H
29 #include "pxr/imaging/hd/api.h"
30 #include "pxr/imaging/hd/version.h"
31 #include "pxr/imaging/hd/bufferSource.h"
35 PXR_NAMESPACE_OPEN_SCOPE
48 Hd_ExtCompInputSource(
const TfToken &inputName);
51 virtual ~Hd_ExtCompInputSource() =
default;
59 virtual const
VtValue &GetValue() const = 0;
64 Hd_ExtCompInputSource() = delete;
65 Hd_ExtCompInputSource(const Hd_ExtCompInputSource &) = delete;
66 Hd_ExtCompInputSource &operator = (const Hd_ExtCompInputSource &) = delete;
69 using Hd_ExtCompInputSourceSharedPtr =
70 std::shared_ptr<Hd_ExtCompInputSource>;
71 using Hd_ExtCompInputSourceSharedPtrVector =
72 std::vector<Hd_ExtCompInputSourceSharedPtr>;
75 PXR_NAMESPACE_CLOSE_SCOPE
77 #endif // PXR_IMAGING_HD_EXT_COMP_INPUT_SOURCE_H
Token for efficient comparison, assignment, and hashing of known strings.
A abstract base class for pure cpu computation.
virtual HD_API TfToken const & GetName() const override
Return the name of this buffer source.
Provides a container which may hold any type, and provides introspection and iteration over array typ...