|
Blender V5.0
|
#include <BKE_mesh_types.hh>
Public Member Functions | |
| MeshRuntime () | |
| ~MeshRuntime () | |
Definition at line 150 of file BKE_mesh_types.hh.
|
default |
| blender::bke::MeshRuntime::~MeshRuntime | ( | ) |
Definition at line 64 of file mesh_runtime.cc.
References blender::bke::free_batch_cache(), and blender::bke::free_mesh_eval().
| std::unique_ptr<bake::BakeMaterialsList> blender::bke::MeshRuntime::bake_materials |
Stores weak references to material data blocks.
Definition at line 295 of file BKE_mesh_types.hh.
| void* blender::bke::MeshRuntime::batch_cache = nullptr |
Data used to efficiently draw the mesh in the viewport, especially useful when the same mesh is used in many objects or instances. See draw_cache_impl_mesh.cc.
Definition at line 191 of file BKE_mesh_types.hh.
Referenced by blender::bke::free_batch_cache().
| SharedCache<Bounds<float3> > blender::bke::MeshRuntime::bounds_cache |
A cache of bounds shared between data-blocks with unchanged positions. When changing positions affect the bounds, the cache is "un-shared" with other geometries. See SharedCache comments.
Definition at line 179 of file BKE_mesh_types.hh.
| SharedCache<std::unique_ptr<BVHTree, BVHTreeDeleter> > blender::bke::MeshRuntime::bvh_cache_corner_tris |
Definition at line 201 of file BKE_mesh_types.hh.
Referenced by blender::bke::free_bvh_caches().
| SharedCache<std::unique_ptr<BVHTree, BVHTreeDeleter> > blender::bke::MeshRuntime::bvh_cache_corner_tris_no_hidden |
Definition at line 202 of file BKE_mesh_types.hh.
Referenced by blender::bke::free_bvh_caches().
| SharedCache<std::unique_ptr<BVHTree, BVHTreeDeleter> > blender::bke::MeshRuntime::bvh_cache_edges |
Definition at line 199 of file BKE_mesh_types.hh.
Referenced by blender::bke::free_bvh_caches().
| SharedCache<std::unique_ptr<BVHTree, BVHTreeDeleter> > blender::bke::MeshRuntime::bvh_cache_faces |
Definition at line 200 of file BKE_mesh_types.hh.
Referenced by blender::bke::free_bvh_caches().
| SharedCache<std::unique_ptr<BVHTree, BVHTreeDeleter> > blender::bke::MeshRuntime::bvh_cache_loose_edges |
Definition at line 205 of file BKE_mesh_types.hh.
Referenced by blender::bke::free_bvh_caches().
| SharedCache<std::unique_ptr<BVHTree, BVHTreeDeleter> > blender::bke::MeshRuntime::bvh_cache_loose_edges_no_hidden |
Definition at line 206 of file BKE_mesh_types.hh.
Referenced by blender::bke::free_bvh_caches().
| SharedCache<std::unique_ptr<BVHTree, BVHTreeDeleter> > blender::bke::MeshRuntime::bvh_cache_loose_verts |
Definition at line 203 of file BKE_mesh_types.hh.
Referenced by blender::bke::free_bvh_caches().
| SharedCache<std::unique_ptr<BVHTree, BVHTreeDeleter> > blender::bke::MeshRuntime::bvh_cache_loose_verts_no_hidden |
Definition at line 204 of file BKE_mesh_types.hh.
Referenced by blender::bke::free_bvh_caches().
| SharedCache<std::unique_ptr<BVHTree, BVHTreeDeleter> > blender::bke::MeshRuntime::bvh_cache_verts |
Definition at line 198 of file BKE_mesh_types.hh.
Referenced by blender::bke::free_bvh_caches().
| CustomData_MeshMasks blender::bke::MeshRuntime::cd_mask_extra = {} |
Needed in case we need to lazily initialize the mesh.
Definition at line 212 of file BKE_mesh_types.hh.
| SharedCache<NormalsCache> blender::bke::MeshRuntime::corner_normals_cache |
Lazily computed face corner normals (#Mesh::corner_normals()).
Definition at line 257 of file BKE_mesh_types.hh.
| SharedCache<Array<int> > blender::bke::MeshRuntime::corner_to_face_map_cache |
Cache of face indices for each face corner.
Definition at line 269 of file BKE_mesh_types.hh.
| SharedCache<Array<int> > blender::bke::MeshRuntime::corner_tri_faces_cache |
Cache for triangle to original face index map, accessed with #Mesh::corner_tri_faces().
Definition at line 196 of file BKE_mesh_types.hh.
| TrianglesCache blender::bke::MeshRuntime::corner_tris_cache |
Cache for derived triangulation of the mesh, accessed with #Mesh::corner_tris().
Definition at line 194 of file BKE_mesh_types.hh.
| bool blender::bke::MeshRuntime::deformed_only = false |
Set by modifier stack if only deformed from original.
Definition at line 230 of file BKE_mesh_types.hh.
| std::unique_ptr<EditMeshData> blender::bke::MeshRuntime::edit_data |
Lazily initialized SoA data from the edit_mesh field in Mesh. Used when the mesh is a BMesh wrapper (ME_WRAPPER_TYPE_BMESH).
Definition at line 185 of file BKE_mesh_types.hh.
| std::shared_ptr<BMEditMesh> blender::bke::MeshRuntime::edit_mesh |
Storage of the edit mode BMesh with some extra data for quick access in edit mode.
Definition at line 173 of file BKE_mesh_types.hh.
| Mutex blender::bke::MeshRuntime::eval_mutex |
Definition at line 158 of file BKE_mesh_types.hh.
| SharedCache<NormalsCache> blender::bke::MeshRuntime::face_normals_cache |
Lazily computed face normals (#Mesh::face_normals()).
Definition at line 254 of file BKE_mesh_types.hh.
| SharedCache<Vector<float3> > blender::bke::MeshRuntime::face_normals_true_cache |
Definition at line 255 of file BKE_mesh_types.hh.
| const ImplicitSharingInfo* blender::bke::MeshRuntime::face_offsets_sharing_info = nullptr |
Implicit sharing user count for Mesh::face_offset_indices.
Definition at line 161 of file BKE_mesh_types.hh.
Referenced by mesh_blend_write().
| bool blender::bke::MeshRuntime::is_original_bmesh = false |
Copied from edit-mesh (hint, draw with edit-mesh data when true).
Modifiers that edit the mesh data in-place must set this to false (most ModifierTypeType::NonGeometrical modifiers). Otherwise the edit-mesh data will be used for drawing, missing changes from modifiers. See #79517.
Definition at line 238 of file BKE_mesh_types.hh.
| SharedCache<LooseEdgeCache> blender::bke::MeshRuntime::loose_edges_cache |
Cache of data about edges not used by faces. See #Mesh::loose_edges().
Definition at line 271 of file BKE_mesh_types.hh.
| SharedCache<LooseVertCache> blender::bke::MeshRuntime::loose_verts_cache |
Cache of data about vertices not used by edges. See #Mesh::loose_verts().
Definition at line 273 of file BKE_mesh_types.hh.
| SharedCache<std::optional<int> > blender::bke::MeshRuntime::max_material_index |
Definition at line 208 of file BKE_mesh_types.hh.
"Evaluated" mesh owned by this mesh. Used for objects which don't have effective modifiers, so that the evaluated mesh can be shared between objects. Also stores the lazily created Mesh for BMesh and GPU subdivision mesh wrappers. Since this is accessed and set from multiple threads, access and use must be protected by the eval_mutex lock.
Definition at line 157 of file BKE_mesh_types.hh.
Referenced by blender::bke::free_mesh_eval(), and blender::bke::mesh_calc_modifiers().
| SharedCache<ShrinkwrapBoundaryData> blender::bke::MeshRuntime::shrinkwrap_boundary_cache |
Cache of non-manifold boundary data for shrinkwrap target Project.
Definition at line 278 of file BKE_mesh_types.hh.
| std::unique_ptr<SubdivCCG> blender::bke::MeshRuntime::subdiv_ccg |
Grids representation for multi-resolution sculpting. When this is set, the mesh data corresponds to the unsubdivided base mesh; it is conceptually replaced with the limited data stored in the grids.
Definition at line 226 of file BKE_mesh_types.hh.
| int blender::bke::MeshRuntime::subdiv_ccg_tot_level = 0 |
Definition at line 227 of file BKE_mesh_types.hh.
| BitVector blender::bke::MeshRuntime::subsurf_face_dot_tags |
A bit vector the size of the number of vertices, set to true for the center vertices of subdivided faces. The values are set by the subdivision surface modifier and used by drawing code instead of face center face dots. Otherwise this will be empty.
Definition at line 285 of file BKE_mesh_types.hh.
| BitVector blender::bke::MeshRuntime::subsurf_optimal_display_edges |
A bit vector the size of the number of edges, set to true for edges that should be drawn in the viewport. Created by the "Optimal Display" feature of the subdivision surface modifier. Otherwise it will be empty.
Definition at line 292 of file BKE_mesh_types.hh.
| SubsurfRuntimeData* blender::bke::MeshRuntime::subsurf_runtime_data = nullptr |
Settings for lazily evaluating the subdivision on the CPU if needed. These are set in the modifier when GPU subdivision can be performed, and owned by the modifier in the object.
Definition at line 248 of file BKE_mesh_types.hh.
| SharedCache<VectorSet<int> > blender::bke::MeshRuntime::used_material_indices |
Definition at line 209 of file BKE_mesh_types.hh.
| SharedCache<NormalsCache> blender::bke::MeshRuntime::vert_normals_cache |
Lazily computed vertex normals (#Mesh::vert_normals()).
Definition at line 251 of file BKE_mesh_types.hh.
| SharedCache<Vector<float3> > blender::bke::MeshRuntime::vert_normals_true_cache |
Definition at line 252 of file BKE_mesh_types.hh.
| SharedCache<Array<int> > blender::bke::MeshRuntime::vert_to_corner_map_cache |
Cache of indices for vert to corner map.
Definition at line 267 of file BKE_mesh_types.hh.
| SharedCache<Array<int> > blender::bke::MeshRuntime::vert_to_face_map_cache |
Cache of indices for vert to face map.
Definition at line 265 of file BKE_mesh_types.hh.
| SharedCache<Array<int> > blender::bke::MeshRuntime::vert_to_face_offset_cache |
Cache of offsets for vert to face/corner maps. The same offsets array is used to group indices for both the vertex to face and vertex to corner maps.
Definition at line 263 of file BKE_mesh_types.hh.
| SharedCache<LooseVertCache> blender::bke::MeshRuntime::verts_no_face_cache |
Cache of data about vertices not used by faces. See #Mesh::verts_no_face().
Definition at line 275 of file BKE_mesh_types.hh.
| eMeshWrapperType blender::bke::MeshRuntime::wrapper_type = ME_WRAPPER_TYPE_MDATA |
eMeshWrapperType and others.
Definition at line 241 of file BKE_mesh_types.hh.