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

#include <modelSchema.h>

Public Member Functions

USDIMAGING_API BuilderSetModelPath (const HdPathDataSourceHandle &modelPath)
 
USDIMAGING_API BuilderSetAssetIdentifier (const HdAssetPathDataSourceHandle &assetIdentifier)
 
USDIMAGING_API BuilderSetAssetName (const HdStringDataSourceHandle &assetName)
 
USDIMAGING_API BuilderSetAssetVersion (const HdStringDataSourceHandle &assetVersion)
 
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 modelSchema.h.

Member Function Documentation

USDIMAGING_API HdContainerDataSourceHandle UsdImagingModelSchema::Builder::Build ( )

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

USDIMAGING_API Builder& UsdImagingModelSchema::Builder::SetAssetIdentifier ( const HdAssetPathDataSourceHandle assetIdentifier)
USDIMAGING_API Builder& UsdImagingModelSchema::Builder::SetAssetName ( const HdStringDataSourceHandle assetName)
USDIMAGING_API Builder& UsdImagingModelSchema::Builder::SetAssetVersion ( const HdStringDataSourceHandle assetVersion)
USDIMAGING_API Builder& UsdImagingModelSchema::Builder::SetModelPath ( const HdPathDataSourceHandle modelPath)

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