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

#include <renderProductSchema.h>

Public Member Functions

HD_API BuilderSetPath (const HdPathDataSourceHandle &path)
 
HD_API BuilderSetType (const HdTokenDataSourceHandle &type)
 
HD_API BuilderSetName (const HdTokenDataSourceHandle &name)
 
HD_API BuilderSetResolution (const HdVec2iDataSourceHandle &resolution)
 
HD_API BuilderSetRenderVars (const HdVectorDataSourceHandle &renderVars)
 
HD_API BuilderSetCameraPrim (const HdPathDataSourceHandle &cameraPrim)
 
HD_API BuilderSetPixelAspectRatio (const HdFloatDataSourceHandle &pixelAspectRatio)
 
HD_API BuilderSetAspectRatioConformPolicy (const HdTokenDataSourceHandle &aspectRatioConformPolicy)
 
HD_API BuilderSetApertureSize (const HdVec2fDataSourceHandle &apertureSize)
 
HD_API BuilderSetDataWindowNDC (const HdVec4fDataSourceHandle &dataWindowNDC)
 
HD_API BuilderSetDisableMotionBlur (const HdBoolDataSourceHandle &disableMotionBlur)
 
HD_API BuilderSetDisableDepthOfField (const HdBoolDataSourceHandle &disableDepthOfField)
 
HD_API BuilderSetNamespacedSettings (const HdContainerDataSourceHandle &namespacedSettings)
 
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 216 of file renderProductSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdRenderProductSchema::Builder::Build ( )

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

HD_API Builder& HdRenderProductSchema::Builder::SetApertureSize ( const HdVec2fDataSourceHandle apertureSize)
HD_API Builder& HdRenderProductSchema::Builder::SetAspectRatioConformPolicy ( const HdTokenDataSourceHandle aspectRatioConformPolicy)
HD_API Builder& HdRenderProductSchema::Builder::SetCameraPrim ( const HdPathDataSourceHandle cameraPrim)
HD_API Builder& HdRenderProductSchema::Builder::SetDataWindowNDC ( const HdVec4fDataSourceHandle dataWindowNDC)
HD_API Builder& HdRenderProductSchema::Builder::SetDisableDepthOfField ( const HdBoolDataSourceHandle disableDepthOfField)
HD_API Builder& HdRenderProductSchema::Builder::SetDisableMotionBlur ( const HdBoolDataSourceHandle disableMotionBlur)
HD_API Builder& HdRenderProductSchema::Builder::SetName ( const HdTokenDataSourceHandle name)
HD_API Builder& HdRenderProductSchema::Builder::SetNamespacedSettings ( const HdContainerDataSourceHandle &  namespacedSettings)
HD_API Builder& HdRenderProductSchema::Builder::SetPath ( const HdPathDataSourceHandle path)
HD_API Builder& HdRenderProductSchema::Builder::SetPixelAspectRatio ( const HdFloatDataSourceHandle pixelAspectRatio)
HD_API Builder& HdRenderProductSchema::Builder::SetRenderVars ( const HdVectorDataSourceHandle &  renderVars)
HD_API Builder& HdRenderProductSchema::Builder::SetResolution ( const HdVec2iDataSourceHandle resolution)
HD_API Builder& HdRenderProductSchema::Builder::SetType ( const HdTokenDataSourceHandle type)

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