Blender V5.3
blender::bke::AttributeInitValue Struct Reference

#include <BKE_attribute.hh>

Inherits blender::bke::AttributeInit.

Public Member Functions

template<typename T>
 AttributeInitValue (const T &value)
 AttributeInitValue (const GPointer value)
Public Member Functions inherited from blender::bke::AttributeInit
 AttributeInit (const Type type)

Public Attributes

GPointer value
Public Attributes inherited from blender::bke::AttributeInit
Type type

Additional Inherited Members

Public Types inherited from blender::bke::AttributeInit
enum class  Type {
  Construct , Value , DefaultValue , VArray ,
  Shared
}

Detailed Description

Create attribute data with the given value, which must be the same as the specified type.

Definition at line 96 of file BKE_attribute.hh.

Constructor & Destructor Documentation

◆ AttributeInitValue() [1/2]

template<typename T>
blender::bke::AttributeInitValue::AttributeInitValue ( const T & value)
inline

◆ AttributeInitValue() [2/2]

blender::bke::AttributeInitValue::AttributeInitValue ( const GPointer value)
inline

Definition at line 104 of file BKE_attribute.hh.

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

Member Data Documentation

◆ value

GPointer blender::bke::AttributeInitValue::value

Definition at line 97 of file BKE_attribute.hh.

Referenced by AttributeInitValue(), and AttributeInitValue().


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