![]() |
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... | |
A resizable container of HdBufferArrayRanges.
Definition at line 141 of file bufferArrayRange.h.
|
inline |
Constructor.
Definition at line 145 of file bufferArrayRange.h.
| 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.