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

#include <instanceIndicesSchema.h>

Public Member Functions

HD_API BuilderSetInstancer (const HdPathDataSourceHandle &instancer)
 
HD_API BuilderSetPrototypeIndex (const HdIntDataSourceHandle &prototypeIndex)
 
HD_API BuilderSetInstanceIndices (const HdIntArrayDataSourceHandle &instanceIndices)
 
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 88 of file instanceIndicesSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdInstanceIndicesSchema::Builder::Build ( )

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

HD_API Builder& HdInstanceIndicesSchema::Builder::SetInstanceIndices ( const HdIntArrayDataSourceHandle instanceIndices)
HD_API Builder& HdInstanceIndicesSchema::Builder::SetInstancer ( const HdPathDataSourceHandle instancer)
HD_API Builder& HdInstanceIndicesSchema::Builder::SetPrototypeIndex ( const HdIntDataSourceHandle prototypeIndex)

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