Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_mesh_types.h
| Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | typedef struct Mesh_Runtime { | ||||
| */ | */ | ||||
| char wrapper_type_finalize; | char wrapper_type_finalize; | ||||
| /** | /** | ||||
| * 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. | ||||
| */ | */ | ||||
| SessionUUID subsurf_session_uuid; | SessionUUID subsurf_session_uuid; | ||||
| int subsurf_resolution; | 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 316 Lines • Show Last 20 Lines | |||||