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

#include <bufferArrayRange.h>

Public Member Functions

 HdBufferArrayRangeContainer (int size)
 Constructor. More...
 
HD_API void Set (int index, HdBufferArrayRangeSharedPtr const &range)
 
HD_API
HdBufferArrayRangeSharedPtr
const & 
Get (int index) const
 
HD_API void Resize (int size)
 

Detailed Description

A resizable container of HdBufferArrayRanges.

Definition at line 144 of file bufferArrayRange.h.

Constructor & Destructor Documentation

HdBufferArrayRangeContainer::HdBufferArrayRangeContainer ( int  size)
inline

Constructor.

Definition at line 148 of file bufferArrayRange.h.

Member Function Documentation

HD_API HdBufferArrayRangeSharedPtr const& HdBufferArrayRangeContainer::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 HdBufferArrayRangeContainer::Resize ( int  size)

Resize the buffer array range container to size size. Used to explicitly resize or shrink the container.

HD_API void HdBufferArrayRangeContainer::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: