Blender V4.3
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 360 of file BKE_attribute.hh.

Constructor & Destructor Documentation

◆ GSpanAttributeWriter() [1/2]

blender::bke::GSpanAttributeWriter::GSpanAttributeWriter ( )
default

◆ GSpanAttributeWriter() [2/2]

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

Definition at line 367 of file BKE_attribute.hh.

Member Function Documentation

◆ finish()

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

Definition at line 379 of file BKE_attribute.hh.

◆ operator bool()

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

Definition at line 374 of file BKE_attribute.hh.

Member Data Documentation

◆ domain

AttrDomain blender::bke::GSpanAttributeWriter::domain

Definition at line 362 of file BKE_attribute.hh.

◆ span

GMutableVArraySpan blender::bke::GSpanAttributeWriter::span

Definition at line 361 of file BKE_attribute.hh.

◆ tag_modified_fn

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

Definition at line 363 of file BKE_attribute.hh.


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