Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_mesh_types.h
| Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Lines | typedef struct Mesh_Runtime { | ||||
| /** #eMeshWrapperType and others. */ | /** #eMeshWrapperType and others. */ | ||||
| char wrapper_type; | char wrapper_type; | ||||
| /** | /** | ||||
| * A type mask from wrapper_type, | * A type mask from wrapper_type, | ||||
| * in case there are differences in finalizing logic between types. | * in case there are differences in finalizing logic between types. | ||||
| */ | */ | ||||
| char wrapper_type_finalize; | char wrapper_type_finalize; | ||||
| int subsurf_resolution; | |||||
| /** | /** | ||||
| * Settings for lazily evaluating the subdivision on the CPU if needed. These are | * Settings for lazily evaluating the subdivision on the CPU if needed. These are | ||||
| * set in the modifier when GPU subdivision can be performed. | * set in the modifier when GPU subdivision can be performed. | ||||
| */ | */ | ||||
| char subsurf_resolution; | |||||
| char subsurf_do_loop_normals; | |||||
| char _pad3[2]; | |||||
| char subsurf_apply_render; | char subsurf_apply_render; | ||||
| char subsurf_use_optimal_display; | char subsurf_use_optimal_display; | ||||
| /** | /** | ||||
| * Caches for lazily computed vertex and polygon normals. These are stored here rather than in | * Caches for lazily computed vertex and polygon normals. These are stored here rather than in | ||||
| * #CustomData because they can be calculated on a const mesh, and adding custom data layers on a | * #CustomData because they can be calculated on a const mesh, and adding custom data layers on a | ||||
| * const mesh is not thread-safe. | * const mesh is not thread-safe. | ||||
| */ | */ | ||||
| ▲ Show 20 Lines • Show All 308 Lines • Show Last 20 Lines | |||||