35 #ifndef PXR_IMAGING_HD_LEGACY_DISPLAY_STYLE_SCHEMA_H
36 #define PXR_IMAGING_HD_LEGACY_DISPLAY_STYLE_SCHEMA_H
49 #define HD_LEGACY_DISPLAY_STYLE_SCHEMA_TOKENS \
52 (flatShadingEnabled) \
53 (displacementEnabled) \
54 (occludedSelectionShowsThrough) \
55 (pointsShadingEnabled) \
113 static HdContainerDataSourceHandle
165 HdContainerDataSourceHandle
Build();
186 const HdContainerDataSourceHandle &fromParentContainer);
HD_API HdBoolDataSourceHandle GetFlatShadingEnabled()
HD_API Builder & SetShadingStyle(const HdTokenDataSourceHandle &shadingStyle)
static HD_API const HdDataSourceLocator & GetReprSelectorLocator()
Prim-level relative data source locator to locate reprSelector.
HD_API Builder & SetMaterialIsFinal(const HdBoolDataSourceHandle &materialIsFinal)
HD_API Builder & SetDisplacementEnabled(const HdBoolDataSourceHandle &displacementEnabled)
HD_API Builder & SetFlatShadingEnabled(const HdBoolDataSourceHandle &flatShadingEnabled)
static HD_API HdLegacyDisplayStyleSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
static HD_API HdContainerDataSourceHandle BuildRetained(const HdIntDataSourceHandle &refineLevel, const HdBoolDataSourceHandle &flatShadingEnabled, const HdBoolDataSourceHandle &displacementEnabled, const HdBoolDataSourceHandle &occludedSelectionShowsThrough, const HdBoolDataSourceHandle &pointsShadingEnabled, const HdBoolDataSourceHandle &materialIsFinal, const HdTokenDataSourceHandle &shadingStyle, const HdTokenArrayDataSourceHandle &reprSelector, const HdTokenDataSourceHandle &cullStyle)
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
static HD_API const HdDataSourceLocator & GetCullStyleLocator()
Prim-level relative data source locator to locate cullStyle.
HdTokenArrayDataSource::Handle HdTokenArrayDataSourceHandle
HD_API HdBoolDataSourceHandle GetMaterialIsFinal()
HD_API Builder & SetOccludedSelectionShowsThrough(const HdBoolDataSourceHandle &occludedSelectionShowsThrough)
HD_API HdBoolDataSourceHandle GetPointsShadingEnabled()
HD_API HdBoolDataSourceHandle GetOccludedSelectionShowsThrough()
HD_API Builder & SetReprSelector(const HdTokenArrayDataSourceHandle &reprSelector)
HD_API Builder & SetPointsShadingEnabled(const HdBoolDataSourceHandle &pointsShadingEnabled)
#define HD_LEGACY_DISPLAY_STYLE_SCHEMA_TOKENS
HdBoolDataSource::Handle HdBoolDataSourceHandle
HD_API HdIntDataSourceHandle GetRefineLevel()
HD_API HdTokenArrayDataSourceHandle GetReprSelector()
HD_API HdTokenDataSourceHandle GetCullStyle()
static HD_API const HdDataSourceLocator & GetDefaultLocator()
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
TF_DECLARE_PUBLIC_TOKENS(HdLegacyDisplayStyleSchemaTokens, HD_API, HD_LEGACY_DISPLAY_STYLE_SCHEMA_TOKENS)
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API Builder & SetCullStyle(const HdTokenDataSourceHandle &cullStyle)
HdIntDataSource::Handle HdIntDataSourceHandle
HD_API HdTokenDataSourceHandle GetShadingStyle()
HdLegacyDisplayStyleSchema(HdContainerDataSourceHandle container)
static HD_API const TfToken & GetSchemaToken()
HdTokenDataSource::Handle HdTokenDataSourceHandle
HD_API Builder & SetRefineLevel(const HdIntDataSourceHandle &refineLevel)
HD_API HdBoolDataSourceHandle GetDisplacementEnabled()