|
Blender V5.3
|
#include "MEM_guardedalloc.h"#include "BLI_bit_vector.hh"#include "BLI_math_base_c.hh"#include "bmesh.hh"Go to the source code of this file.
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
Functions | |
| BLI_INLINE bool | blender::partial_elem_vert_ensure (BMPartialUpdate *bmpinfo, MutableBitSpan verts_tag, BMVert *v) |
| BLI_INLINE bool | blender::partial_elem_face_ensure (BMPartialUpdate *bmpinfo, MutableBitSpan faces_tag, BMFace *f) |
| BMPartialUpdate * | blender::BM_mesh_partial_create_from_verts (BMesh &bm, const BMPartialUpdate_Params ¶ms, const BitSpan verts_mask, const int verts_mask_count) |
| BMPartialUpdate * | blender::BM_mesh_partial_create_from_verts_group_single (BMesh &bm, const BMPartialUpdate_Params ¶ms, const BitSpan verts_mask, const int verts_mask_count) |
| BMPartialUpdate * | blender::BM_mesh_partial_create_from_verts_group_multi (BMesh &bm, const BMPartialUpdate_Params ¶ms, const Span< int > verts_group, const int verts_group_count) |
| void | blender::BM_mesh_partial_destroy (BMPartialUpdate *bmpinfo) |
Generate data needed for partially updating mesh information. Currently this is used for normals and tessellation.
Transform is the obvious use case where there is no need to update normals or tessellation for geometry which has not been modified.
In the future this could be integrated into GPU updates too.
Operate on everything that's tagged as well as connected geometry. see: #BM_mesh_partial_create_from_verts
Operate on everything that is connected to both tagged and un-tagged. see: #BM_mesh_partial_create_from_verts_group_single
Reduces computations when transforming isolated regions.
Optionally support multiple groups since axis-mirror (for example) will transform vertices in different directions, as well as keeping centered vertices. see: #BM_mesh_partial_create_from_verts_group_multi
Definition in file bmesh_mesh_partial_update.cc.