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

#include <usdRenderVarSchema.h>

Public Member Functions

USDIMAGING_API BuilderSetDataType (const HdTokenDataSourceHandle &dataType)
 
USDIMAGING_API BuilderSetSourceName (const HdStringDataSourceHandle &sourceName)
 
USDIMAGING_API BuilderSetSourceType (const HdTokenDataSourceHandle &sourceType)
 
USDIMAGING_API BuilderSetNamespacedSettings (const HdContainerDataSourceHandle &namespacedSettings)
 
USDIMAGING_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 111 of file usdRenderVarSchema.h.

Member Function Documentation

USDIMAGING_API HdContainerDataSourceHandle UsdImagingUsdRenderVarSchema::Builder::Build ( )

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

USDIMAGING_API Builder& UsdImagingUsdRenderVarSchema::Builder::SetDataType ( const HdTokenDataSourceHandle dataType)
USDIMAGING_API Builder& UsdImagingUsdRenderVarSchema::Builder::SetNamespacedSettings ( const HdContainerDataSourceHandle &  namespacedSettings)
USDIMAGING_API Builder& UsdImagingUsdRenderVarSchema::Builder::SetSourceName ( const HdStringDataSourceHandle sourceName)
USDIMAGING_API Builder& UsdImagingUsdRenderVarSchema::Builder::SetSourceType ( const HdTokenDataSourceHandle sourceType)

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