HDK
|
#include <primvarSchema.h>
Public Member Functions | |
HD_API Builder & | SetPrimvarValue (const HdSampledDataSourceHandle &primvarValue) |
HD_API Builder & | SetIndexedPrimvarValue (const HdSampledDataSourceHandle &indexedPrimvarValue) |
HD_API Builder & | SetIndices (const HdIntArrayDataSourceHandle &indices) |
HD_API Builder & | SetInterpolation (const HdTokenDataSourceHandle &interpolation) |
HD_API Builder & | SetRole (const HdTokenDataSourceHandle &role) |
HD_API HdContainerDataSourceHandle | Build () |
Returns a container data source containing the members set thus far. More... | |
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.
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 | ) |