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

#include <subdivisionTagsSchema.h>

Public Member Functions

HD_API BuilderSetFaceVaryingLinearInterpolation (const HdTokenDataSourceHandle &faceVaryingLinearInterpolation)
 
HD_API BuilderSetInterpolateBoundary (const HdTokenDataSourceHandle &interpolateBoundary)
 
HD_API BuilderSetTriangleSubdivisionRule (const HdTokenDataSourceHandle &triangleSubdivisionRule)
 
HD_API BuilderSetCornerIndices (const HdIntArrayDataSourceHandle &cornerIndices)
 
HD_API BuilderSetCornerSharpnesses (const HdFloatArrayDataSourceHandle &cornerSharpnesses)
 
HD_API BuilderSetCreaseIndices (const HdIntArrayDataSourceHandle &creaseIndices)
 
HD_API BuilderSetCreaseLengths (const HdIntArrayDataSourceHandle &creaseLengths)
 
HD_API BuilderSetCreaseSharpnesses (const HdFloatArrayDataSourceHandle &creaseSharpnesses)
 
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 119 of file subdivisionTagsSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdSubdivisionTagsSchema::Builder::Build ( )

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

HD_API Builder& HdSubdivisionTagsSchema::Builder::SetCornerIndices ( const HdIntArrayDataSourceHandle cornerIndices)
HD_API Builder& HdSubdivisionTagsSchema::Builder::SetCornerSharpnesses ( const HdFloatArrayDataSourceHandle cornerSharpnesses)
HD_API Builder& HdSubdivisionTagsSchema::Builder::SetCreaseIndices ( const HdIntArrayDataSourceHandle creaseIndices)
HD_API Builder& HdSubdivisionTagsSchema::Builder::SetCreaseLengths ( const HdIntArrayDataSourceHandle creaseLengths)
HD_API Builder& HdSubdivisionTagsSchema::Builder::SetCreaseSharpnesses ( const HdFloatArrayDataSourceHandle creaseSharpnesses)
HD_API Builder& HdSubdivisionTagsSchema::Builder::SetFaceVaryingLinearInterpolation ( const HdTokenDataSourceHandle faceVaryingLinearInterpolation)
HD_API Builder& HdSubdivisionTagsSchema::Builder::SetInterpolateBoundary ( const HdTokenDataSourceHandle interpolateBoundary)
HD_API Builder& HdSubdivisionTagsSchema::Builder::SetTriangleSubdivisionRule ( const HdTokenDataSourceHandle triangleSubdivisionRule)

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