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

#include <renderBufferSchema.h>

Public Member Functions

HD_API BuilderSetDimensions (const HdVec3iDataSourceHandle &dimensions)
 
HD_API BuilderSetFormat (const HdFormatDataSourceHandle &format)
 
HD_API BuilderSetMultiSampled (const HdBoolDataSourceHandle &multiSampled)
 
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 89 of file renderBufferSchema.h.

Member Function Documentation

HD_API HdContainerDataSourceHandle HdRenderBufferSchema::Builder::Build ( )

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

HD_API Builder& HdRenderBufferSchema::Builder::SetDimensions ( const HdVec3iDataSourceHandle dimensions)
HD_API Builder& HdRenderBufferSchema::Builder::SetFormat ( const HdFormatDataSourceHandle format)
HD_API Builder& HdRenderBufferSchema::Builder::SetMultiSampled ( const HdBoolDataSourceHandle multiSampled)

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