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

#include <primvarSchema.h>

Public Member Functions

HD_API BuilderSetPrimvarValue (const HdSampledDataSourceHandle &primvarValue)
 
HD_API BuilderSetIndexedPrimvarValue (const HdSampledDataSourceHandle &indexedPrimvarValue)
 
HD_API BuilderSetIndices (const HdIntArrayDataSourceHandle &indices)
 
HD_API BuilderSetInterpolation (const HdTokenDataSourceHandle &interpolation)
 
HD_API BuilderSetRole (const HdTokenDataSourceHandle &role)
 
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 156 of file primvarSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdPrimvarSchema::Builder::Build ( )

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

HD_API Builder& HdPrimvarSchema::Builder::SetIndexedPrimvarValue ( const HdSampledDataSourceHandle &  indexedPrimvarValue)
HD_API Builder& HdPrimvarSchema::Builder::SetIndices ( const HdIntArrayDataSourceHandle indices)
HD_API Builder& HdPrimvarSchema::Builder::SetInterpolation ( const HdTokenDataSourceHandle interpolation)
HD_API Builder& HdPrimvarSchema::Builder::SetPrimvarValue ( const HdSampledDataSourceHandle &  primvarValue)
HD_API Builder& HdPrimvarSchema::Builder::SetRole ( const HdTokenDataSourceHandle role)

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