All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdBufferArrayRangeContainer Class Reference

A resizable container of HdBufferArrayRanges. More...

Public Member Functions

 HdBufferArrayRangeContainer (int size)
 Constructor. More...
 
HD_API void Set (int index, HdBufferArrayRangeSharedPtr const &range)
 Set range into the container at index. More...
 
HD_API
HdBufferArrayRangeSharedPtr
const & 
Get (int index) const
 Returns the bar at index. More...
 
HD_API void Resize (int size)
 Resize the buffer array range container to size size. More...
 

Detailed Description

A resizable container of HdBufferArrayRanges.

Definition at line 141 of file bufferArrayRange.h.

Constructor & Destructor Documentation

HdBufferArrayRangeContainer ( int  size)
inline

Constructor.

Definition at line 145 of file bufferArrayRange.h.

Member Function Documentation

HD_API HdBufferArrayRangeSharedPtr const& Get ( int  index) const

Returns the bar at index.

returns null if either the index is out of range or not yet set.

HD_API void Resize ( int  size)

Resize the buffer array range container to size size.

Used to explicitly resize or shrink the container.

HD_API void Set ( int  index,
HdBufferArrayRangeSharedPtr const &  range 
)

Set range into the container at index.

If the size of container is smaller than index, resize it.


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