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

#include <DNA_object_types.h>

Public Attributes

CustomData_MeshMasks last_data_mask
 
char last_need_mapping
 
char _pad0 [3]
 
float parent_display_origin [3]
 
int select_id
 
char _pad1 [3]
 
char is_data_eval_owned
 
struct BoundBoxbb
 
struct IDdata_orig
 
struct IDdata_eval
 
struct GeometrySetgeometry_set_eval
 
void * geometry_set_previews
 
struct Meshmesh_deform_eval
 
struct bGPdatagpd_orig
 
struct bGPdatagpd_eval
 
struct Meshobject_as_temp_mesh
 
struct Curveobject_as_temp_curve
 
struct CurveCachecurve_cache
 
unsigned short local_collections_bits
 
short _pad2 [3]
 
void * _pad3
 

Detailed Description

Definition at line 119 of file DNA_object_types.h.

Member Data Documentation

◆ _pad0

char Object_Runtime::_pad0[3]

Definition at line 129 of file DNA_object_types.h.

◆ _pad1

char Object_Runtime::_pad1[3]

Definition at line 139 of file DNA_object_types.h.

◆ _pad2

short Object_Runtime::_pad2[3]

Definition at line 211 of file DNA_object_types.h.

◆ _pad3

void* Object_Runtime::_pad3

Definition at line 212 of file DNA_object_types.h.

◆ bb

struct BoundBox* Object_Runtime::bb

◆ curve_cache

struct CurveCache* Object_Runtime::curve_cache

Runtime evaluated curve-specific data, not stored in the file.

Definition at line 208 of file DNA_object_types.h.

Referenced by arrayModifier_doArray(), BKE_anim_path_calc_data(), BKE_curve_bevelList_make(), BKE_displist_make_curveTypes(), BKE_displist_make_curveTypes_forRender(), BKE_displist_make_mball(), BKE_displist_make_surf(), BKE_lattice_deform_data_create(), BKE_lattice_minmax_dl(), BKE_lattice_modifiers_calc(), BKE_lattice_resize(), BKE_mball_boundbox_get(), BKE_mball_texspace_calc(), BKE_mesh_new_nomain_from_curve(), BKE_mesh_nurbs_to_mdata(), BKE_object_foreach_display_point(), BKE_object_free_curve_cache(), BKE_object_material_slot_remove(), BKE_object_runtime_reset_on_copy(), BKE_where_on_path(), boundbox_displist_object(), calc_curve_deform(), contarget_get_lattice_mat(), curve_bevel_make_from_object(), curve_to_mesh_eval_ensure(), displist_calc_taper(), do_makeDispListCurveTypes(), DRW_curve_batch_cache_create_requested(), DRW_metaball_batch_cache_get_triangles_with_normals(), DRW_metaball_batch_cache_get_wireframes_face(), ED_object_parent_set(), followpath_get_tarmat(), give_parvert(), lattice_foreachScreenVert(), make_object_duplilist_real(), match_texture_space_exec(), mball_batch_cache_get_edges_adj_lines(), mball_batch_cache_get_pos_and_normals(), mesh_new_from_curve_type_object(), mesh_new_from_mball_object(), ob_parcurve(), object_convert_exec(), object_data_convert_ensure_curve_cache(), object_for_curve_to_mesh_create(), object_free_data(), OVERLAY_wireframe_cache_populate(), position_tail_on_spline(), precalculate_effector(), pycon_get_tarmat(), splineik_evaluate_init(), stats_object(), and vfont_to_curve().

◆ data_eval

struct ID* Object_Runtime::data_eval

Object data structure created during object evaluation. 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.

Definition at line 161 of file DNA_object_types.h.

Referenced by BKE_mesh_from_nurbs_displist(), BKE_object_eval_assign_data(), BKE_object_free_derived_caches(), BKE_object_runtime_reset_on_copy(), BKE_pointcloud_to_mesh(), do_makeDispListCurveTypes(), knifeproject_poly_from_object(), object_for_curve_to_mesh_create(), paintface_flush_flags(), and blender::deg::ObjectRuntimeBackup::restore_to_object().

◆ data_orig

struct ID* Object_Runtime::data_orig

◆ geometry_set_eval

struct GeometrySet* Object_Runtime::geometry_set_eval

Objects can evaluate to a geometry set instead of a single ID. In those cases, the evaluated 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.

Definition at line 169 of file DNA_object_types.h.

Referenced by BKE_object_eval_assign_data(), BKE_object_free_derived_caches(), BKE_object_minmax_dupli(), BKE_object_runtime_reset_on_copy(), BKE_object_visibility(), BKE_pointcloud_boundbox_get(), editbmesh_build_data(), blender::ed::spreadsheet::get_display_geometry_set(), get_dupli_generator(), iter_snap_objects(), make_duplis_instances_component(), mesh_build_data(), and object_has_geometry_set_instances().

◆ geometry_set_previews

void* Object_Runtime::geometry_set_previews

A GHash that contains geometry sets for intermediate stages of evaluation. The keys are just a hash and are not owned by the map. The geometry sets are owned.

Definition at line 175 of file DNA_object_types.h.

Referenced by BKE_object_free_derived_caches(), BKE_object_preview_geometry_set_add(), and blender::ed::spreadsheet::get_display_geometry_set().

◆ gpd_eval

struct bGPdata* Object_Runtime::gpd_eval

bGPdata structure created during object evaluation. It has all modifiers applied.

Definition at line 193 of file DNA_object_types.h.

Referenced by BKE_gpencil_prepare_eval_data(), BKE_object_eval_transform_final(), BKE_object_free_derived_caches(), and BKE_object_runtime_reset_on_copy().

◆ gpd_orig

struct bGPdata* Object_Runtime::gpd_orig

Original grease pencil bGPdata pointer, before object->data was changed to point to gpd_eval. Is assigned by dependency graph's copy-on-write evaluation.

Definition at line 188 of file DNA_object_types.h.

Referenced by BKE_gpencil_prepare_eval_data().

◆ is_data_eval_owned

char Object_Runtime::is_data_eval_owned

Denotes whether the evaluated data is owned by this object or is referenced and owned by somebody else.

Definition at line 145 of file DNA_object_types.h.

Referenced by BKE_object_eval_assign_data(), BKE_object_free_derived_caches(), BKE_object_select_update(), and object_update_from_subsurf_ccg().

◆ last_data_mask

CustomData_MeshMasks Object_Runtime::last_data_mask

The custom data layer mask that was last used to calculate data_eval and mesh_deform_eval.

Definition at line 124 of file DNA_object_types.h.

Referenced by BKE_object_data_transfer_ex(), mesh_build_data(), mesh_get_eval_deform(), and mesh_get_eval_final().

◆ last_need_mapping

char Object_Runtime::last_need_mapping

Did last modifier stack generation need mapping support?

Definition at line 127 of file DNA_object_types.h.

Referenced by mesh_build_data(), mesh_get_eval_deform(), and mesh_get_eval_final().

◆ local_collections_bits

unsigned short Object_Runtime::local_collections_bits

Definition at line 210 of file DNA_object_types.h.

Referenced by BKE_object_is_visible_in_viewport().

◆ mesh_deform_eval

struct Mesh* Object_Runtime::mesh_deform_eval

◆ object_as_temp_curve

struct Curve* Object_Runtime::object_as_temp_curve

This is a curve representation of corresponding object. It created when Python calls object.to_curve().

Definition at line 205 of file DNA_object_types.h.

Referenced by BKE_object_runtime_reset_on_copy(), and BKE_object_to_curve_clear().

◆ object_as_temp_mesh

struct Mesh* Object_Runtime::object_as_temp_mesh

This is a mesh representation of corresponding object. It created when Python calls object.to_mesh().

Definition at line 199 of file DNA_object_types.h.

Referenced by BKE_object_runtime_reset_on_copy(), and BKE_object_to_mesh_clear().

◆ parent_display_origin

float Object_Runtime::parent_display_origin[3]

Only used for drawing the parent/child help-line.

Definition at line 132 of file DNA_object_types.h.

Referenced by BKE_object_eval_parent(), OVERLAY_relationship_lines(), and solve_parenting().

◆ select_id

int Object_Runtime::select_id

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