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

#include <meshSchema.h>

Public Member Functions

HD_API BuilderSetTopology (const HdContainerDataSourceHandle &topology)
 
HD_API BuilderSetSubdivisionScheme (const HdTokenDataSourceHandle &subdivisionScheme)
 
HD_API BuilderSetSubdivisionTags (const HdContainerDataSourceHandle &subdivisionTags)
 
HD_API BuilderSetGeomSubsets (const HdContainerDataSourceHandle &geomSubsets)
 
HD_API BuilderSetDoubleSided (const HdBoolDataSourceHandle &doubleSided)
 
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 115 of file meshSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdMeshSchema::Builder::Build ( )

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

HD_API Builder& HdMeshSchema::Builder::SetDoubleSided ( const HdBoolDataSourceHandle doubleSided)
HD_API Builder& HdMeshSchema::Builder::SetGeomSubsets ( const HdContainerDataSourceHandle &  geomSubsets)
HD_API Builder& HdMeshSchema::Builder::SetSubdivisionScheme ( const HdTokenDataSourceHandle subdivisionScheme)
HD_API Builder& HdMeshSchema::Builder::SetSubdivisionTags ( const HdContainerDataSourceHandle &  subdivisionTags)
HD_API Builder& HdMeshSchema::Builder::SetTopology ( const HdContainerDataSourceHandle &  topology)

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