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

#include <renderSettingsSchema.h>

Public Member Functions

HD_API BuilderSetNamespacedSettings (const HdContainerDataSourceHandle &namespacedSettings)
 
HD_API BuilderSetActive (const HdBoolDataSourceHandle &active)
 
HD_API BuilderSetRenderProducts (const HdVectorDataSourceHandle &renderProducts)
 
HD_API BuilderSetIncludedPurposes (const HdTokenArrayDataSourceHandle &includedPurposes)
 
HD_API BuilderSetMaterialBindingPurposes (const HdTokenArrayDataSourceHandle &materialBindingPurposes)
 
HD_API BuilderSetRenderingColorSpace (const HdTokenDataSourceHandle &renderingColorSpace)
 
HD_API BuilderSetShutterInterval (const HdVec2dDataSourceHandle &shutterInterval)
 
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 139 of file renderSettingsSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdRenderSettingsSchema::Builder::Build ( )

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

HD_API Builder& HdRenderSettingsSchema::Builder::SetActive ( const HdBoolDataSourceHandle active)
HD_API Builder& HdRenderSettingsSchema::Builder::SetIncludedPurposes ( const HdTokenArrayDataSourceHandle includedPurposes)
HD_API Builder& HdRenderSettingsSchema::Builder::SetMaterialBindingPurposes ( const HdTokenArrayDataSourceHandle materialBindingPurposes)
HD_API Builder& HdRenderSettingsSchema::Builder::SetNamespacedSettings ( const HdContainerDataSourceHandle &  namespacedSettings)
HD_API Builder& HdRenderSettingsSchema::Builder::SetRenderingColorSpace ( const HdTokenDataSourceHandle renderingColorSpace)
HD_API Builder& HdRenderSettingsSchema::Builder::SetRenderProducts ( const HdVectorDataSourceHandle &  renderProducts)
HD_API Builder& HdRenderSettingsSchema::Builder::SetShutterInterval ( const HdVec2dDataSourceHandle shutterInterval)

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