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

#include <BKE_attribute.hh>

Public Member Functions

 operator bool () const
 
void finish ()
 
template<typename T >
AttributeWriter< Ttyped () const
 

Public Attributes

GVMutableArray varray
 
eAttrDomain domain
 
std::function< void()> tag_modified_fn
 

Detailed Description

A generic version of #AttributeWriter.

Definition at line 257 of file BKE_attribute.hh.

Member Function Documentation

◆ finish()

void blender::bke::GAttributeWriter::finish ( )
inline

◆ operator bool()

blender::bke::GAttributeWriter::operator bool ( ) const
inline

Definition at line 262 of file BKE_attribute.hh.

References varray.

◆ typed()

template<typename T >
AttributeWriter<T> blender::bke::GAttributeWriter::typed ( ) const
inline

Member Data Documentation

◆ domain

eAttrDomain blender::bke::GAttributeWriter::domain

Definition at line 259 of file BKE_attribute.hh.

Referenced by transform_active_color(), typed(), and vertex_paint_from_weight().

◆ tag_modified_fn

std::function<void()> blender::bke::GAttributeWriter::tag_modified_fn

Definition at line 260 of file BKE_attribute.hh.

Referenced by finish(), and typed().

◆ varray

GVMutableArray blender::bke::GAttributeWriter::varray

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