|
Blender V5.0
|
#include <BKE_attribute.hh>
Inherits blender::bke::AttributeInit.
Public Member Functions | |
| AttributeInitShared (const void *data, const ImplicitSharingInfo &sharing_info) | |
| Public Member Functions inherited from blender::bke::AttributeInit | |
| AttributeInit (const Type type) | |
Public Attributes | |
| const void * | data = nullptr |
| const ImplicitSharingInfo * | sharing_info = nullptr |
| Public Attributes inherited from blender::bke::AttributeInit | |
| Type | type |
Additional Inherited Members | |
| Public Types inherited from blender::bke::AttributeInit | |
| enum class | Type { Construct , DefaultValue , VArray , MoveArray , Shared } |
Create a shared attribute by adding a user to a shared data array. The sharing info has ownership of the provided contiguous array.
Definition at line 167 of file BKE_attribute.hh.
|
inline |
Definition at line 171 of file BKE_attribute.hh.
References blender::bke::AttributeInit::AttributeInit(), data, and sharing_info.
| const void* blender::bke::AttributeInitShared::data = nullptr |
Definition at line 168 of file BKE_attribute.hh.
Referenced by AttributeInitShared().
| const ImplicitSharingInfo* blender::bke::AttributeInitShared::sharing_info = nullptr |
Definition at line 169 of file BKE_attribute.hh.
Referenced by AttributeInitShared().