Blender  V3.3
Public Member Functions | Public Attributes | List of all members
blender::bke::AttributeInitVArray Struct Reference

#include <BKE_attribute.hh>

Inheritance diagram for blender::bke::AttributeInitVArray:
blender::bke::AttributeInit

Public Member Functions

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

Public Attributes

blender::GVArray varray
 
- Public Attributes inherited from blender::bke::AttributeInit
Type type
 

Additional Inherited Members

- Public Types inherited from blender::bke::AttributeInit
enum class  Type { Default , VArray , MoveArray }
 

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.

Note that this can be used to fill the new attribute with the default

Definition at line 100 of file BKE_attribute.hh.

Constructor & Destructor Documentation

◆ AttributeInitVArray()

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

Definition at line 103 of file BKE_attribute.hh.

Member Data Documentation

◆ varray

blender::GVArray blender::bke::AttributeInitVArray::varray

Definition at line 101 of file BKE_attribute.hh.


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