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

#include <meshTopologySchema.h>

Public Member Functions

HD_API BuilderSetFaceVertexCounts (const HdIntArrayDataSourceHandle &faceVertexCounts)
 
HD_API BuilderSetFaceVertexIndices (const HdIntArrayDataSourceHandle &faceVertexIndices)
 
HD_API BuilderSetHoleIndices (const HdIntArrayDataSourceHandle &holeIndices)
 
HD_API BuilderSetOrientation (const HdTokenDataSourceHandle &orientation)
 
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 96 of file meshTopologySchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdMeshTopologySchema::Builder::Build ( )

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

HD_API Builder& HdMeshTopologySchema::Builder::SetFaceVertexCounts ( const HdIntArrayDataSourceHandle faceVertexCounts)
HD_API Builder& HdMeshTopologySchema::Builder::SetFaceVertexIndices ( const HdIntArrayDataSourceHandle faceVertexIndices)
HD_API Builder& HdMeshTopologySchema::Builder::SetHoleIndices ( const HdIntArrayDataSourceHandle holeIndices)
HD_API Builder& HdMeshTopologySchema::Builder::SetOrientation ( const HdTokenDataSourceHandle orientation)

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