Blender  V2.93
Public Attributes | List of all members
Mesh_Runtime Struct Reference

#include <DNA_mesh_types.h>

Public Attributes

struct Meshmesh_eval
 
void * eval_mutex
 
struct EditMeshDataedit_data
 
void * batch_cache
 
struct SubdivCCGsubdiv_ccg
 
void * _pad1
 
int subdiv_ccg_tot_level
 
char _pad2 [4]
 
int64_t cd_dirty_vert
 
int64_t cd_dirty_edge
 
int64_t cd_dirty_loop
 
int64_t cd_dirty_poly
 
struct MLoopTri_Store looptris
 
struct BVHCachebvh_cache
 
struct ShrinkwrapBoundaryDatashrinkwrap_data
 
char deformed_only
 
char is_original
 
char wrapper_type
 
char wrapper_type_finalize
 
char _pad [4]
 
CustomData_MeshMasks cd_mask_extra
 

Detailed Description

Definition at line 78 of file DNA_mesh_types.h.

Member Data Documentation

◆ _pad

char Mesh_Runtime::_pad[4]

Definition at line 125 of file DNA_mesh_types.h.

◆ _pad1

void* Mesh_Runtime::_pad1

Definition at line 89 of file DNA_mesh_types.h.

◆ _pad2

char Mesh_Runtime::_pad2[4]

Definition at line 91 of file DNA_mesh_types.h.

◆ batch_cache

void* Mesh_Runtime::batch_cache

◆ bvh_cache

struct BVHCache* Mesh_Runtime::bvh_cache

◆ cd_dirty_edge

int64_t Mesh_Runtime::cd_dirty_edge

◆ cd_dirty_loop

int64_t Mesh_Runtime::cd_dirty_loop

◆ cd_dirty_poly

int64_t Mesh_Runtime::cd_dirty_poly

◆ cd_dirty_vert

int64_t Mesh_Runtime::cd_dirty_vert

◆ cd_mask_extra

CustomData_MeshMasks Mesh_Runtime::cd_mask_extra

Needed in case we need to lazily initialize the mesh.

Definition at line 128 of file DNA_mesh_types.h.

Referenced by BKE_mesh_wrapper_ensure_mdata(), and BKE_mesh_wrapper_from_editmesh_with_coords().

◆ deformed_only

char Mesh_Runtime::deformed_only

◆ edit_data

struct EditMeshData* Mesh_Runtime::edit_data

◆ eval_mutex

void* Mesh_Runtime::eval_mutex

◆ is_original

char Mesh_Runtime::is_original

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 eModifierTypeType_NonGeometrical modifiers). Otherwise the edit-mesh data will be used for drawing, missing changes from modifiers. See T79517.

Definition at line 115 of file DNA_mesh_types.h.

Referenced by BKE_mesh_wrapper_ensure_mdata(), BKE_mesh_wrapper_from_editmesh_with_coords(), DRW_mesh_batch_cache_create_requested(), mesh_copy_data(), mesh_render_data_create(), modifyMesh(), and uvprojectModifier_do().

◆ looptris

struct MLoopTri_Store Mesh_Runtime::looptris

◆ mesh_eval

struct Mesh* Mesh_Runtime::mesh_eval

◆ shrinkwrap_data

struct ShrinkwrapBoundaryData* Mesh_Runtime::shrinkwrap_data

Non-manifold boundary data for Shrinkwrap Target Project.

Definition at line 104 of file DNA_mesh_types.h.

Referenced by BKE_mesh_runtime_reset_on_copy(), BKE_shrinkwrap_compute_boundary_data(), BKE_shrinkwrap_discard_boundary_data(), and BKE_shrinkwrap_init_tree().

◆ subdiv_ccg

struct SubdivCCG* Mesh_Runtime::subdiv_ccg

◆ subdiv_ccg_tot_level

int Mesh_Runtime::subdiv_ccg_tot_level

Definition at line 90 of file DNA_mesh_types.h.

Referenced by object_update_from_subsurf_ccg().

◆ wrapper_type

char Mesh_Runtime::wrapper_type

◆ wrapper_type_finalize

char Mesh_Runtime::wrapper_type_finalize

A type mask from wrapper_type, in case there are differences in finalizing logic between types.

Definition at line 123 of file DNA_mesh_types.h.

Referenced by BKE_mesh_wrapper_deferred_finalize(), BKE_mesh_wrapper_ensure_mdata(), and editbmesh_calc_modifier_final_normals().


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