Blender V5.3
blender::AttrSingleValueChecker Class Reference

Public Member Functions

 AttrSingleValueChecker (bke::AttributeStorage &storage, const bke::AttrDomain domain, const Set< StringRef > &skip_names)
void check_range (const IndexRange range)
void optimize_storage ()

Detailed Description

Definition at line 1375 of file bmesh_mesh_convert.cc.

Constructor & Destructor Documentation

◆ AttrSingleValueChecker()

Member Function Documentation

◆ check_range()

void blender::AttrSingleValueChecker::check_range ( const IndexRange range)
inline
Note
Before calling this function, the attribute values for the first element must be set. That's particularly important if this is called from a thread.

Definition at line 1409 of file bmesh_mesh_convert.cc.

References blender::IndexRange::begin(), blender::data, blender::IndexRange::end(), T, and blender::bke::attribute_math::to_static_type().

◆ optimize_storage()

void blender::AttrSingleValueChecker::optimize_storage ( )
inline
Note
This will invalidate existing references to attribute data.

Definition at line 1427 of file bmesh_mesh_convert.cc.

References blender::bke::Attribute::SingleData::from_value().

Referenced by blender::mesh_bm_to_me_compact().


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