Blender V4.3
blender::bke::AttributeInitShared Struct Reference

#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 ImplicitSharingInfosharing_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
}
 

Detailed Description

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 135 of file BKE_attribute.hh.

Constructor & Destructor Documentation

◆ AttributeInitShared()

blender::bke::AttributeInitShared::AttributeInitShared ( const void * data,
const ImplicitSharingInfo & sharing_info )
inline

Definition at line 139 of file BKE_attribute.hh.

Member Data Documentation

◆ data

const void* blender::bke::AttributeInitShared::data = nullptr

Definition at line 136 of file BKE_attribute.hh.

◆ sharing_info

const ImplicitSharingInfo* blender::bke::AttributeInitShared::sharing_info = nullptr

Definition at line 137 of file BKE_attribute.hh.


The documentation for this struct was generated from the following file: