Blender V5.0
blender::geometry::GSpanAttributeWriter Struct Reference

#include <BKE_attribute.hh>

Public Member Functions

 GSpanAttributeWriter ()=default
 GSpanAttributeWriter (GAttributeWriter &&other, const bool copy_values_to_span)
 operator bool () const
void finish ()

Public Attributes

GMutableVArraySpan span
AttrDomain domain
std::function< void()> tag_modified_fn

Detailed Description

A generic version of SpanAttributeWriter.

Definition at line 392 of file BKE_attribute.hh.

Constructor & Destructor Documentation

◆ GSpanAttributeWriter() [1/2]

◆ GSpanAttributeWriter() [2/2]

blender::bke::GSpanAttributeWriter::GSpanAttributeWriter ( GAttributeWriter && other,
const bool copy_values_to_span )
inline

Definition at line 399 of file BKE_attribute.hh.

Member Function Documentation

◆ finish()

Definition at line 411 of file BKE_attribute.hh.

◆ operator bool()

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

Definition at line 406 of file BKE_attribute.hh.

Member Data Documentation

◆ domain

◆ span

◆ tag_modified_fn

Definition at line 395 of file BKE_attribute.hh.


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