Blender
V3.3
|
Public Member Functions | |
GVArrayImpl_For_SmallTrivialSingleValue (const CPPType &type, const int64_t size, const void *value) | |
![]() | |
virtual | ~GVArrayImpl ()=default |
virtual void | get_to_uninitialized (int64_t index, void *r_value) const =0 |
GVArrayImpl (const CPPType &type, int64_t size) | |
const CPPType & | type () const |
int64_t | size () const |
virtual void | get (int64_t index, void *r_value) const |
virtual void | materialize (const IndexMask mask, void *dst) const |
virtual void | materialize_to_uninitialized (const IndexMask mask, void *dst) const |
virtual void | materialize_compressed (IndexMask mask, void *dst) const |
virtual void | materialize_compressed_to_uninitialized (IndexMask mask, void *dst) const |
virtual bool | try_assign_VArray (void *varray) const |
Additional Inherited Members | |
![]() | |
const CPPType * | type_ |
int64_t | size_ |
Contains an inline buffer that can store a single value of a trivial type. This avoids the allocation that would be done by #GVArrayImpl_For_SingleValue.
Definition at line 247 of file generic_virtual_array.cc.
|
inline |
Definition at line 252 of file generic_virtual_array.cc.
References blender::CPPType::alignment(), BLI_assert, blender::CPPType::copy_construct(), blender::CPPType::is_trivial(), blender::CPPType::size(), and blender::GVArrayImpl::type().