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

#include <usdRenderSettingsSchema.h>

Public Member Functions

USDIMAGING_API BuilderSetResolution (const HdVec2iDataSourceHandle &resolution)
 
USDIMAGING_API BuilderSetPixelAspectRatio (const HdFloatDataSourceHandle &pixelAspectRatio)
 
USDIMAGING_API BuilderSetAspectRatioConformPolicy (const HdTokenDataSourceHandle &aspectRatioConformPolicy)
 
USDIMAGING_API BuilderSetDataWindowNDC (const HdVec4fDataSourceHandle &dataWindowNDC)
 
USDIMAGING_API BuilderSetDisableMotionBlur (const HdBoolDataSourceHandle &disableMotionBlur)
 
USDIMAGING_API BuilderSetDisableDepthOfField (const HdBoolDataSourceHandle &disableDepthOfField)
 
USDIMAGING_API BuilderSetCamera (const HdPathDataSourceHandle &camera)
 
USDIMAGING_API BuilderSetIncludedPurposes (const HdTokenArrayDataSourceHandle &includedPurposes)
 
USDIMAGING_API BuilderSetMaterialBindingPurposes (const HdTokenArrayDataSourceHandle &materialBindingPurposes)
 
USDIMAGING_API BuilderSetRenderingColorSpace (const HdTokenDataSourceHandle &renderingColorSpace)
 
USDIMAGING_API BuilderSetProducts (const HdPathArrayDataSourceHandle &products)
 
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 243 of file usdRenderSettingsSchema.h.

Member Function Documentation

USDIMAGING_API HdContainerDataSourceHandle UsdImagingUsdRenderSettingsSchema::Builder::Build ( )

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

USDIMAGING_API Builder& UsdImagingUsdRenderSettingsSchema::Builder::SetAspectRatioConformPolicy ( const HdTokenDataSourceHandle aspectRatioConformPolicy)
USDIMAGING_API Builder& UsdImagingUsdRenderSettingsSchema::Builder::SetCamera ( const HdPathDataSourceHandle camera)
USDIMAGING_API Builder& UsdImagingUsdRenderSettingsSchema::Builder::SetDataWindowNDC ( const HdVec4fDataSourceHandle dataWindowNDC)
USDIMAGING_API Builder& UsdImagingUsdRenderSettingsSchema::Builder::SetDisableDepthOfField ( const HdBoolDataSourceHandle disableDepthOfField)
USDIMAGING_API Builder& UsdImagingUsdRenderSettingsSchema::Builder::SetDisableMotionBlur ( const HdBoolDataSourceHandle disableMotionBlur)
USDIMAGING_API Builder& UsdImagingUsdRenderSettingsSchema::Builder::SetIncludedPurposes ( const HdTokenArrayDataSourceHandle includedPurposes)
USDIMAGING_API Builder& UsdImagingUsdRenderSettingsSchema::Builder::SetMaterialBindingPurposes ( const HdTokenArrayDataSourceHandle materialBindingPurposes)
USDIMAGING_API Builder& UsdImagingUsdRenderSettingsSchema::Builder::SetNamespacedSettings ( const HdContainerDataSourceHandle &  namespacedSettings)
USDIMAGING_API Builder& UsdImagingUsdRenderSettingsSchema::Builder::SetPixelAspectRatio ( const HdFloatDataSourceHandle pixelAspectRatio)
USDIMAGING_API Builder& UsdImagingUsdRenderSettingsSchema::Builder::SetProducts ( const HdPathArrayDataSourceHandle products)
USDIMAGING_API Builder& UsdImagingUsdRenderSettingsSchema::Builder::SetRenderingColorSpace ( const HdTokenDataSourceHandle renderingColorSpace)
USDIMAGING_API Builder& UsdImagingUsdRenderSettingsSchema::Builder::SetResolution ( const HdVec2iDataSourceHandle resolution)

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