18 #ifndef PXR_IMAGING_HD_LEGACY_DISPLAY_STYLE_SCHEMA_H
19 #define PXR_IMAGING_HD_LEGACY_DISPLAY_STYLE_SCHEMA_H
35 #define HD_LEGACY_DISPLAY_STYLE_SCHEMA_TOKENS \
38 (flatShadingEnabled) \
39 (displacementEnabled) \
41 (occludedSelectionShowsThrough) \
42 (pointsShadingEnabled) \
70 const HdContainerDataSourceHandle &fromParentContainer);
188 static HdContainerDataSourceHandle
244 HdContainerDataSourceHandle
Build();
HD_API HdBoolDataSourceHandle GetOccludedSelectionShowsThrough() const
static HD_API const HdDataSourceLocator & GetFlatShadingEnabledLocator()
Prim-level relative data source locator to locate flatShadingEnabled.
HD_API Builder & SetShadingStyle(const HdTokenDataSourceHandle &shadingStyle)
static HD_API const HdDataSourceLocator & GetPointsShadingEnabledLocator()
Prim-level relative data source locator to locate pointsShadingEnabled.
static HD_API const HdDataSourceLocator & GetRefineLevelLocator()
Prim-level relative data source locator to locate refineLevel.
HD_API HdBoolDataSourceHandle GetFlatShadingEnabled() const
HD_API HdTokenArrayDataSourceHandle GetReprSelector() const
HD_API HdBoolDataSourceHandle GetDisplacementEnabled() const
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)
static HD_API HdContainerDataSourceHandle BuildRetained(const HdIntDataSourceHandle &refineLevel, const HdBoolDataSourceHandle &flatShadingEnabled, const HdBoolDataSourceHandle &displacementEnabled, const HdBoolDataSourceHandle &displayInOverlay, const HdBoolDataSourceHandle &occludedSelectionShowsThrough, const HdBoolDataSourceHandle &pointsShadingEnabled, const HdBoolDataSourceHandle &materialIsFinal, const HdTokenDataSourceHandle &shadingStyle, const HdTokenArrayDataSourceHandle &reprSelector, const HdTokenDataSourceHandle &cullStyle)
HD_API Builder & SetFlatShadingEnabled(const HdBoolDataSourceHandle &flatShadingEnabled)
static HD_API HdLegacyDisplayStyleSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
HD_API HdBoolDataSourceHandle GetPointsShadingEnabled() const
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
static HD_API const HdDataSourceLocator & GetDisplayInOverlayLocator()
Prim-level relative data source locator to locate displayInOverlay.
static HD_API const HdDataSourceLocator & GetCullStyleLocator()
Prim-level relative data source locator to locate cullStyle.
HdTokenArrayDataSource::Handle HdTokenArrayDataSourceHandle
HD_API Builder & SetOccludedSelectionShowsThrough(const HdBoolDataSourceHandle &occludedSelectionShowsThrough)
HD_API HdBoolDataSourceHandle GetDisplayInOverlay() const
HD_API Builder & SetReprSelector(const HdTokenArrayDataSourceHandle &reprSelector)
HD_API Builder & SetDisplayInOverlay(const HdBoolDataSourceHandle &displayInOverlay)
HD_API Builder & SetPointsShadingEnabled(const HdBoolDataSourceHandle &pointsShadingEnabled)
#define HD_LEGACY_DISPLAY_STYLE_SCHEMA_TOKENS
static HD_API const HdDataSourceLocator & GetOccludedSelectionShowsThroughLocator()
Prim-level relative data source locator to locate occludedSelectionShowsThrough.
HdBoolDataSource::Handle HdBoolDataSourceHandle
HD_API HdIntDataSourceHandle GetRefineLevel() const
static HD_API const HdDataSourceLocator & GetDisplacementEnabledLocator()
Prim-level relative data source locator to locate displacementEnabled.
static HD_API const HdDataSourceLocator & GetMaterialIsFinalLocator()
Prim-level relative data source locator to locate materialIsFinal.
static HD_API const HdDataSourceLocator & GetShadingStyleLocator()
Prim-level relative data source locator to locate shadingStyle.
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)
HD_API HdTokenDataSourceHandle GetCullStyle() const
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API HdBoolDataSourceHandle GetMaterialIsFinal() const
HD_API Builder & SetCullStyle(const HdTokenDataSourceHandle &cullStyle)
HdIntDataSource::Handle HdIntDataSourceHandle
HdLegacyDisplayStyleSchema(HdContainerDataSourceHandle container)
HD_API HdTokenDataSourceHandle GetShadingStyle() const
static HD_API const TfToken & GetSchemaToken()
HdTokenDataSource::Handle HdTokenDataSourceHandle
HD_API Builder & SetRefineLevel(const HdIntDataSourceHandle &refineLevel)