Blender V5.3
bmesh_mesh_convert.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2004 Blender Authors
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
10
11#include "BLI_enum_flags.hh"
12#include "BLI_string_ref.hh"
13
14#include "bmesh.hh"
15
16namespace blender {
17
23
25struct Main;
26struct Mesh;
27
31 /* add a vertex CD_SHAPE_KEYINDEX layer */
33 /* set vertex coordinates from the shapekey */
35 /* define the active shape key (index + 1) */
38};
39
49void BM_mesh_bm_from_me(BMesh *bm, const Mesh *mesh, const BMeshFromMeshParams *params)
50 ATTR_NONNULL(1, 3);
51
72
76void BM_mesh_bm_to_me(struct Main *bmain, BMesh *bm, Mesh *mesh, const BMeshToMeshParams *params)
77 ATTR_NONNULL(2, 3, 4);
78
95void BM_mesh_bm_to_me_for_eval(BMesh &bm, Mesh &mesh, const CustomData_MeshMasks *cd_mask_extra);
96
102
103} // namespace blender
BMesh Iterators.
void BM_mesh_bm_to_me_only_select_and_hide(BMesh &bm, Mesh &mesh)
void BM_mesh_bm_to_me_for_eval(BMesh &bm, Mesh &mesh, const CustomData_MeshMasks *cd_mask_extra)
void BM_mesh_bm_from_me(BMesh *bm, const Mesh *mesh, const BMeshFromMeshParams *params)
Mesh -> BMesh.
void BM_mesh_bm_to_me(Main *bmain, BMesh *bm, Mesh *mesh, const BMeshToMeshParams *params)
void ATTR_NONNULL(1, 2)
bool BM_attribute_stored_in_bmesh_builtin(const StringRef name)
struct CustomData_MeshMasks cd_mask_extra
struct CustomData_MeshMasks cd_mask_extra