|
Blender V4.5
|
Inherits blender::GVArrayImpl.
Public Member Functions | |
| GVArrayImpl_For_SmallTrivialSingleValue (const CPPType &type, const int64_t size, const void *value) | |
Public Member Functions inherited from blender::GVArrayImpl | |
| virtual | ~GVArrayImpl ()=default |
| GVArrayImpl (const CPPType &type, int64_t size) | |
| const CPPType & | type () const |
| int64_t | size () const |
| virtual bool | try_assign_VArray (void *varray) const |
Additional Inherited Members | |
Protected Attributes inherited from blender::GVArrayImpl | |
| 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 255 of file generic_virtual_array.cc.
|
inline |
Definition at line 260 of file generic_virtual_array.cc.
References blender::CPPType::alignment, BLI_assert, blender::CPPType::copy_construct(), blender::CPPType::is_trivial, blender::CPPType::size, blender::GVArrayImpl::type(), and value.