31 #ifndef PXR_IMAGING_HD_SPLIT_DIOPTER_SCHEMA_H
32 #define PXR_IMAGING_HD_SPLIT_DIOPTER_SCHEMA_H
42 #define HDSPLITDIOPTER_SCHEMA_TOKENS \
91 static HdContainerDataSourceHandle
139 HdContainerDataSourceHandle
Build();
159 const HdContainerDataSourceHandle &fromParentContainer);
HdFloatDataSource::Handle HdFloatDataSourceHandle
HD_API HdFloatDataSourceHandle GetOffset1()
HD_API Builder & SetWidth1(const HdFloatDataSourceHandle &width1)
SIM_API const UT_StringHolder angle
HD_API HdFloatDataSourceHandle GetOffset2()
HD_API HdFloatDataSourceHandle GetFocusDistance1()
HD_API Builder & SetOffset2(const HdFloatDataSourceHandle &offset2)
HD_API HdFloatDataSourceHandle GetWidth2()
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
HD_API HdIntDataSourceHandle GetCount()
HD_API HdFloatDataSourceHandle GetWidth1()
static HD_API const HdDataSourceLocator & GetDefaultLocator()
HD_API Builder & SetAngle(const HdFloatDataSourceHandle &angle)
#define HDSPLITDIOPTER_SCHEMA_TOKENS
static HD_API HdContainerDataSourceHandle BuildRetained(const HdIntDataSourceHandle &count, const HdFloatDataSourceHandle &angle, const HdFloatDataSourceHandle &offset1, const HdFloatDataSourceHandle &width1, const HdFloatDataSourceHandle &focusDistance1, const HdFloatDataSourceHandle &offset2, const HdFloatDataSourceHandle &width2, const HdFloatDataSourceHandle &focusDistance2)
HD_API Builder & SetWidth2(const HdFloatDataSourceHandle &width2)
static HD_API HdSplitDiopterSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
HD_API Builder & SetCount(const HdIntDataSourceHandle &count)
static HD_API const TfToken & GetSchemaToken()
HD_API HdFloatDataSourceHandle GetAngle()
HD_API Builder & SetOffset1(const HdFloatDataSourceHandle &offset1)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HD_API Builder & SetFocusDistance2(const HdFloatDataSourceHandle &focusDistance2)
#define PXR_NAMESPACE_CLOSE_SCOPE
HdIntDataSource::Handle HdIntDataSourceHandle
TF_DECLARE_PUBLIC_TOKENS(HdSplitDiopterSchemaTokens, HD_API, HDSPLITDIOPTER_SCHEMA_TOKENS)
HD_API Builder & SetFocusDistance1(const HdFloatDataSourceHandle &focusDistance1)
HD_API HdFloatDataSourceHandle GetFocusDistance2()
HdSplitDiopterSchema(HdContainerDataSourceHandle container)