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

#include <renderVarSchema.h>

Public Member Functions

HD_API BuilderSetPath (const HdPathDataSourceHandle &path)
 
HD_API BuilderSetDataType (const HdTokenDataSourceHandle &dataType)
 
HD_API BuilderSetSourceName (const HdTokenDataSourceHandle &sourceName)
 
HD_API BuilderSetSourceType (const HdTokenDataSourceHandle &sourceType)
 
HD_API BuilderSetNamespacedSettings (const HdContainerDataSourceHandle &namespacedSettings)
 
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 116 of file renderVarSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdRenderVarSchema::Builder::Build ( )

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

HD_API Builder& HdRenderVarSchema::Builder::SetDataType ( const HdTokenDataSourceHandle dataType)
HD_API Builder& HdRenderVarSchema::Builder::SetNamespacedSettings ( const HdContainerDataSourceHandle &  namespacedSettings)
HD_API Builder& HdRenderVarSchema::Builder::SetPath ( const HdPathDataSourceHandle path)
HD_API Builder& HdRenderVarSchema::Builder::SetSourceName ( const HdTokenDataSourceHandle sourceName)
HD_API Builder& HdRenderVarSchema::Builder::SetSourceType ( const HdTokenDataSourceHandle sourceType)

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