|
Blender V5.0
|
#include <BLI_virtual_array.hh>
Inherits blender::VArrayImpl< T >.
Public Member Functions | |
| VArrayImpl_For_Func (const int64_t size, GetFunc get_func) | |
| Public Member Functions inherited from blender::VArrayImpl< T > | |
| VArrayImpl (const int64_t size) | |
| virtual | ~VArrayImpl ()=default |
| int64_t | size () const |
| virtual CommonVArrayInfo | common_info () const |
| virtual bool | try_assign_GVArray (GVArray &) const |
Additional Inherited Members | |
| Protected Attributes inherited from blender::VArrayImpl< T > | |
| int64_t | size_ |
This class makes it easy to create a virtual array for an existing function or lambda. The GetFunc should take a single index argument and return the value at that index.
Definition at line 377 of file BLI_virtual_array.hh.
|
inline |
Definition at line 382 of file BLI_virtual_array.hh.
References blender::VArrayImpl< T >::size(), T, and blender::VArrayImpl< T >::VArrayImpl().