Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_object_types.h
| Show First 20 Lines • Show All 144 Lines • ▼ Show 20 Lines | typedef struct Object_Runtime { | ||||
| /** | /** | ||||
| * Original data pointer, before object->data was changed to point | * Original data pointer, before object->data was changed to point | ||||
| * to data_eval. | * to data_eval. | ||||
| * Is assigned by dependency graph's copy-on-write evaluation. | * Is assigned by dependency graph's copy-on-write evaluation. | ||||
| */ | */ | ||||
| struct ID *data_orig; | struct ID *data_orig; | ||||
| /** | /** | ||||
| * Object data structure created during object evaluation. | * Object data structure created during object evaluation. It has all modifiers applied. | ||||
| * It has all modifiers applied. | * The type is determined by the type of the original object. For example, for mesh and curve | ||||
| * objects, this is a mesh. For a volume object, this is a volume. | |||||
| */ | */ | ||||
| struct ID *data_eval; | struct ID *data_eval; | ||||
| /** | /** | ||||
| * Some objects support evaluating to a geometry set instead of a single ID. In those cases the | * Objects can evaluate to a geometry set instead of a single ID. In those cases, the evaluated | ||||
| * evaluated geometry will be stored here instead of in #data_eval. | * geometry set will be stored here. An ID of the correct type is still stored in #data_eval. | ||||
| * #geometry_set_eval might reference the ID pointed to by #data_eval as well, but does not own | |||||
| * the data. | |||||
| */ | */ | ||||
| struct GeometrySet *geometry_set_eval; | struct GeometrySet *geometry_set_eval; | ||||
| /** | /** | ||||
| * Mesh structure created during object evaluation. | * Mesh structure created during object evaluation. | ||||
| * It has deformation only modifiers applied on it. | * It has deformation only modifiers applied on it. | ||||
| */ | */ | ||||
| struct Mesh *mesh_deform_eval; | struct Mesh *mesh_deform_eval; | ||||
| ▲ Show 20 Lines • Show All 546 Lines • Show Last 20 Lines | |||||