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

#include <extComputationSchema.h>

Public Member Functions

HD_API BuilderSetInputValues (const HdContainerDataSourceHandle &inputValues)
 
HD_API BuilderSetInputComputations (const HdVectorDataSourceHandle &inputComputations)
 
HD_API BuilderSetOutputs (const HdVectorDataSourceHandle &outputs)
 
HD_API BuilderSetGlslKernel (const HdStringDataSourceHandle &glslKernel)
 
HD_API BuilderSetCpuCallback (const HdDataSourceBaseHandle &cpuCallback)
 
HD_API BuilderSetDispatchCount (const HdSizetDataSourceHandle &dispatchCount)
 
HD_API BuilderSetElementCount (const HdSizetDataSourceHandle &elementCount)
 
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 126 of file extComputationSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdExtComputationSchema::Builder::Build ( )

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

HD_API Builder& HdExtComputationSchema::Builder::SetCpuCallback ( const HdDataSourceBaseHandle &  cpuCallback)
HD_API Builder& HdExtComputationSchema::Builder::SetDispatchCount ( const HdSizetDataSourceHandle dispatchCount)
HD_API Builder& HdExtComputationSchema::Builder::SetElementCount ( const HdSizetDataSourceHandle elementCount)
HD_API Builder& HdExtComputationSchema::Builder::SetGlslKernel ( const HdStringDataSourceHandle glslKernel)
HD_API Builder& HdExtComputationSchema::Builder::SetInputComputations ( const HdVectorDataSourceHandle &  inputComputations)
HD_API Builder& HdExtComputationSchema::Builder::SetInputValues ( const HdContainerDataSourceHandle &  inputValues)
HD_API Builder& HdExtComputationSchema::Builder::SetOutputs ( const HdVectorDataSourceHandle &  outputs)

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