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

#include <imageShaderSchema.h>

Public Member Functions

HD_API BuilderSetEnabled (const HdBoolDataSourceHandle &enabled)
 
HD_API BuilderSetPriority (const HdIntDataSourceHandle &priority)
 
HD_API BuilderSetFilePath (const HdStringDataSourceHandle &filePath)
 
HD_API BuilderSetConstants (const HdContainerDataSourceHandle &constants)
 
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 172 of file imageShaderSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdImageShaderSchema::Builder::Build ( )

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

HD_API Builder& HdImageShaderSchema::Builder::SetConstants ( const HdContainerDataSourceHandle &  constants)
HD_API Builder& HdImageShaderSchema::Builder::SetEnabled ( const HdBoolDataSourceHandle enabled)
HD_API Builder& HdImageShaderSchema::Builder::SetFilePath ( const HdStringDataSourceHandle filePath)
HD_API Builder& HdImageShaderSchema::Builder::SetPriority ( const HdIntDataSourceHandle priority)

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