Blender V4.3
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
AttrDomain domain
std::function< void()> tag_modified_fn

Detailed Description

A generic version of AttributeWriter.

Definition at line 334 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 339 of file BKE_attribute.hh.

◆ typed()

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

Member Data Documentation

◆ domain

AttrDomain blender::bke::GAttributeWriter::domain

Definition at line 336 of file BKE_attribute.hh.

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

◆ tag_modified_fn

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

Definition at line 337 of file BKE_attribute.hh.

Referenced by finish(), and typed().

◆ varray

GVMutableArray blender::bke::GAttributeWriter::varray

Definition at line 335 of file BKE_attribute.hh.

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


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