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

#include <volumeFieldSchema.h>

Public Member Functions

HD_API BuilderSetFilePath (const HdAssetPathDataSourceHandle &filePath)
 
HD_API BuilderSetFieldName (const HdTokenDataSourceHandle &fieldName)
 
HD_API BuilderSetFieldIndex (const HdIntDataSourceHandle &fieldIndex)
 
HD_API BuilderSetFieldDataType (const HdTokenDataSourceHandle &fieldDataType)
 
HD_API BuilderSetVectorDataRoleHint (const HdTokenDataSourceHandle &vectorDataRoleHint)
 
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 97 of file volumeFieldSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdVolumeFieldSchema::Builder::Build ( )

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

HD_API Builder& HdVolumeFieldSchema::Builder::SetFieldDataType ( const HdTokenDataSourceHandle fieldDataType)
HD_API Builder& HdVolumeFieldSchema::Builder::SetFieldIndex ( const HdIntDataSourceHandle fieldIndex)
HD_API Builder& HdVolumeFieldSchema::Builder::SetFieldName ( const HdTokenDataSourceHandle fieldName)
HD_API Builder& HdVolumeFieldSchema::Builder::SetFilePath ( const HdAssetPathDataSourceHandle filePath)
HD_API Builder& HdVolumeFieldSchema::Builder::SetVectorDataRoleHint ( const HdTokenDataSourceHandle vectorDataRoleHint)

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