18 #ifndef PXR_IMAGING_HD_PURPOSE_SCHEMA_H
19 #define PXR_IMAGING_HD_PURPOSE_SCHEMA_H
35 #define HD_PURPOSE_SCHEMA_TOKENS \
64 const HdContainerDataSourceHandle &fromParentContainer);
125 static HdContainerDataSourceHandle
153 HdContainerDataSourceHandle
Build();
static HD_API const TfToken & GetSchemaToken()
HD_API Builder & SetInheritable(const HdBoolDataSourceHandle &inheritable)
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
#define HD_PURPOSE_SCHEMA_TOKENS
#define PXR_NAMESPACE_OPEN_SCOPE
static HD_API HdPurposeSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
HD_API Builder & SetPurpose(const HdTokenDataSourceHandle &purpose)
HdPurposeSchema(HdContainerDataSourceHandle container)
static HD_API HdContainerDataSourceHandle BuildRetained(const HdTokenDataSourceHandle &purpose, const HdBoolDataSourceHandle &inheritable, const HdTokenDataSourceHandle &fallback)
HD_API HdBoolDataSourceHandle GetInheritable() const
HD_API Builder & SetFallback(const HdTokenDataSourceHandle &fallback)
HD_API HdTokenDataSourceHandle GetPurpose() const
HdBoolDataSource::Handle HdBoolDataSourceHandle
HD_API TfToken ResolvePurposeValue()
TF_DECLARE_PUBLIC_TOKENS(HdPurposeSchemaTokens, HD_API, HD_PURPOSE_SCHEMA_TOKENS)
HD_API HdTokenDataSourceHandle GetFallback() const
static HD_API const HdDataSourceLocator & GetDefaultLocator()
#define PXR_NAMESPACE_CLOSE_SCOPE
HdTokenDataSource::Handle HdTokenDataSourceHandle