|
Blender V5.0
|
#include <BLI_offset_indices.hh>
Public Member Functions | |
| GroupedSpan ()=default | |
| GroupedSpan (OffsetIndices< int > offsets, Span< T > data) | |
| Span< T > | operator[] (const int64_t index) const |
| int64_t | size () const |
| IndexRange | index_range () const |
| bool | is_empty () const |
Public Attributes | |
| OffsetIndices< int > | offsets |
| Span< T > | data |
References many separate spans in a larger contiguous array. This gives a more efficient way to store many grouped arrays, without requiring many small allocations, giving the general benefits of using contiguous memory.
Definition at line 120 of file BLI_offset_indices.hh.
|
default |
|
inline |
Definition at line 125 of file BLI_offset_indices.hh.
|
inline |
Definition at line 140 of file BLI_offset_indices.hh.
|
inline |
Definition at line 145 of file BLI_offset_indices.hh.
|
inline |
Definition at line 130 of file BLI_offset_indices.hh.
|
inline |
Definition at line 135 of file BLI_offset_indices.hh.
| Span<T> blender::offset_indices::GroupedSpan< T >::data |
Definition at line 122 of file BLI_offset_indices.hh.
| OffsetIndices<int> blender::offset_indices::GroupedSpan< T >::offsets |
Definition at line 121 of file BLI_offset_indices.hh.