Blender V5.0
blender::bke::AttributeInitVArray Struct Reference

#include <BKE_attribute.hh>

Inherits blender::bke::AttributeInit.

Public Member Functions

 AttributeInitVArray (GVArray varray)
Public Member Functions inherited from blender::bke::AttributeInit
 AttributeInit (const Type type)

Public Attributes

GVArray varray
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 an attribute by copying data from an existing virtual array. The virtual array must have the same type as the newly created attribute.

Definition at line 143 of file BKE_attribute.hh.

Constructor & Destructor Documentation

◆ AttributeInitVArray()

blender::bke::AttributeInitVArray::AttributeInitVArray ( GVArray varray)
inline

Definition at line 146 of file BKE_attribute.hh.

References blender::bke::AttributeInit::AttributeInit(), and varray.

Member Data Documentation

◆ varray

GVArray blender::bke::AttributeInitVArray::varray

Definition at line 144 of file BKE_attribute.hh.

Referenced by AttributeInitVArray().


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