HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdLegacyDisplayStyleSchema::Builder Class Reference

#include <legacyDisplayStyleSchema.h>

Public Member Functions

HD_API BuilderSetRefineLevel (const HdIntDataSourceHandle &refineLevel)
 
HD_API BuilderSetFlatShadingEnabled (const HdBoolDataSourceHandle &flatShadingEnabled)
 
HD_API BuilderSetDisplacementEnabled (const HdBoolDataSourceHandle &displacementEnabled)
 
HD_API BuilderSetOccludedSelectionShowsThrough (const HdBoolDataSourceHandle &occludedSelectionShowsThrough)
 
HD_API BuilderSetPointsShadingEnabled (const HdBoolDataSourceHandle &pointsShadingEnabled)
 
HD_API BuilderSetMaterialIsFinal (const HdBoolDataSourceHandle &materialIsFinal)
 
HD_API BuilderSetShadingStyle (const HdTokenDataSourceHandle &shadingStyle)
 
HD_API BuilderSetReprSelector (const HdTokenArrayDataSourceHandle &reprSelector)
 
HD_API BuilderSetCullStyle (const HdTokenDataSourceHandle &cullStyle)
 
HD_API HdContainerDataSourceHandle Build ()
 Returns a container data source containing the members set thus far. More...
 

Detailed Description

Utility class for setting sparse sets of child data source fields to be filled as arguments into BuildRetained. Because all setter methods return a reference to the instance, this can be used in the "builder pattern" form.

Definition at line 132 of file legacyDisplayStyleSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdLegacyDisplayStyleSchema::Builder::Build ( )

Returns a container data source containing the members set thus far.

HD_API Builder& HdLegacyDisplayStyleSchema::Builder::SetCullStyle ( const HdTokenDataSourceHandle cullStyle)
HD_API Builder& HdLegacyDisplayStyleSchema::Builder::SetDisplacementEnabled ( const HdBoolDataSourceHandle displacementEnabled)
HD_API Builder& HdLegacyDisplayStyleSchema::Builder::SetFlatShadingEnabled ( const HdBoolDataSourceHandle flatShadingEnabled)
HD_API Builder& HdLegacyDisplayStyleSchema::Builder::SetMaterialIsFinal ( const HdBoolDataSourceHandle materialIsFinal)
HD_API Builder& HdLegacyDisplayStyleSchema::Builder::SetOccludedSelectionShowsThrough ( const HdBoolDataSourceHandle occludedSelectionShowsThrough)
HD_API Builder& HdLegacyDisplayStyleSchema::Builder::SetPointsShadingEnabled ( const HdBoolDataSourceHandle pointsShadingEnabled)
HD_API Builder& HdLegacyDisplayStyleSchema::Builder::SetRefineLevel ( const HdIntDataSourceHandle refineLevel)
HD_API Builder& HdLegacyDisplayStyleSchema::Builder::SetReprSelector ( const HdTokenArrayDataSourceHandle reprSelector)
HD_API Builder& HdLegacyDisplayStyleSchema::Builder::SetShadingStyle ( const HdTokenDataSourceHandle shadingStyle)

The documentation for this class was generated from the following file: