Loading...
Searching...
No Matches
HdPrimvarSchema::Builder Class Reference

Utility class for setting sparse sets of child data source fields to be filled as arguments into BuildRetained. More...

#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.
 

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

◆ Build()

HD_API HdContainerDataSourceHandle Build ( )

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


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