HDK
|
#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) |
A resizable container of HdBufferArrayRanges.
Definition at line 144 of file bufferArrayRange.h.
|
inline |
Constructor.
Definition at line 148 of file bufferArrayRange.h.
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.
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.