|
Blender V4.5
|
#include <deg_builder_map.h>
Public Types | |
| enum | { TAG_ANIMATION = (1 << 0) , TAG_PARAMETERS = (1 << 1) , TAG_TRANSFORM = (1 << 2) , TAG_GEOMETRY = (1 << 3) , TAG_SCENE_COMPOSITOR = (1 << 4) , TAG_SCENE_SEQUENCER = (1 << 5) , TAG_SCENE_AUDIO = (1 << 6) , TAG_COLLECTION_CHILDREN_HIERARCHY = (1 << 7) , TAG_COLLECTION_PROPERTIES = (1 << 8) , TAG_COMPLETE } |
Public Member Functions | |
| bool | check_is_built (ID *id, int tag=TAG_COMPLETE) const |
| void | tag_built (ID *id, int tag=TAG_COMPLETE) |
| bool | check_is_built_and_tag (ID *id, int tag=TAG_COMPLETE) |
| template<typename T > | |
| bool | check_is_built (T *datablock, int tag=TAG_COMPLETE) const |
| template<typename T > | |
| void | tag_built (T *datablock, int tag=TAG_COMPLETE) |
| template<typename T > | |
| bool | check_is_built_and_tag (T *datablock, int tag=TAG_COMPLETE) |
Protected Member Functions | |
| int | get_ID_tag (ID *id) const |
Protected Attributes | |
| Map< ID *, int > | id_tags_ |
Definition at line 17 of file deg_builder_map.h.
| anonymous enum |
Definition at line 19 of file deg_builder_map.h.
| bool blender::deg::BuilderMap::check_is_built | ( | ID * | id, |
| int | tag = TAG_COMPLETE ) const |
Definition at line 15 of file deg_builder_map.cc.
References get_ID_tag().
Referenced by blender::deg::DepsgraphNodeBuilder::build_object_data(), blender::deg::DepsgraphRelationBuilder::build_object_data(), and check_is_built().
|
inline |
Definition at line 54 of file deg_builder_map.h.
References check_is_built().
| bool blender::deg::BuilderMap::check_is_built_and_tag | ( | ID * | id, |
| int | tag = TAG_COMPLETE ) |
Definition at line 25 of file deg_builder_map.cc.
References id_tags_, blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add(), and result.
Referenced by blender::deg::DepsgraphNodeBuilder::build_action(), blender::deg::DepsgraphRelationBuilder::build_action(), blender::deg::DepsgraphNodeBuilder::build_armature(), blender::deg::DepsgraphRelationBuilder::build_armature(), blender::deg::DepsgraphNodeBuilder::build_cachefile(), blender::deg::DepsgraphRelationBuilder::build_cachefile(), blender::deg::DepsgraphNodeBuilder::build_camera(), blender::deg::DepsgraphRelationBuilder::build_camera(), blender::deg::DepsgraphNodeBuilder::build_collection(), blender::deg::DepsgraphRelationBuilder::build_collection(), blender::deg::DepsgraphNodeBuilder::build_freestyle_linestyle(), blender::deg::DepsgraphRelationBuilder::build_freestyle_linestyle(), blender::deg::DepsgraphNodeBuilder::build_generic_id(), blender::deg::DepsgraphRelationBuilder::build_generic_id(), blender::deg::DepsgraphNodeBuilder::build_image(), blender::deg::DepsgraphRelationBuilder::build_image(), blender::deg::DepsgraphNodeBuilder::build_light(), blender::deg::DepsgraphRelationBuilder::build_light(), blender::deg::DepsgraphNodeBuilder::build_lightprobe(), blender::deg::DepsgraphRelationBuilder::build_lightprobe(), blender::deg::DepsgraphNodeBuilder::build_mask(), blender::deg::DepsgraphRelationBuilder::build_mask(), blender::deg::DepsgraphNodeBuilder::build_material(), blender::deg::DepsgraphRelationBuilder::build_material(), blender::deg::DepsgraphNodeBuilder::build_movieclip(), blender::deg::DepsgraphRelationBuilder::build_movieclip(), blender::deg::DepsgraphNodeBuilder::build_nodetree(), blender::deg::DepsgraphRelationBuilder::build_nodetree(), blender::deg::DepsgraphNodeBuilder::build_object(), blender::deg::DepsgraphRelationBuilder::build_object(), blender::deg::DepsgraphNodeBuilder::build_object_data_geometry_datablock(), blender::deg::DepsgraphRelationBuilder::build_object_data_geometry_datablock(), blender::deg::DepsgraphNodeBuilder::build_particle_settings(), blender::deg::DepsgraphRelationBuilder::build_particle_settings(), blender::deg::DepsgraphNodeBuilder::build_scene_audio(), blender::deg::DepsgraphNodeBuilder::build_scene_compositor(), blender::deg::DepsgraphRelationBuilder::build_scene_compositor(), blender::deg::DepsgraphNodeBuilder::build_scene_parameters(), blender::deg::DepsgraphRelationBuilder::build_scene_parameters(), blender::deg::DepsgraphNodeBuilder::build_scene_sequencer(), blender::deg::DepsgraphRelationBuilder::build_scene_sequencer(), blender::deg::DepsgraphNodeBuilder::build_shapekeys(), blender::deg::DepsgraphRelationBuilder::build_shapekeys(), blender::deg::DepsgraphNodeBuilder::build_sound(), blender::deg::DepsgraphRelationBuilder::build_sound(), blender::deg::DepsgraphNodeBuilder::build_speaker(), blender::deg::DepsgraphRelationBuilder::build_speaker(), blender::deg::DepsgraphNodeBuilder::build_texture(), blender::deg::DepsgraphRelationBuilder::build_texture(), blender::deg::DepsgraphNodeBuilder::build_vfont(), blender::deg::DepsgraphRelationBuilder::build_vfont(), blender::deg::DepsgraphNodeBuilder::build_world(), blender::deg::DepsgraphRelationBuilder::build_world(), and check_is_built_and_tag().
|
inline |
Definition at line 62 of file deg_builder_map.h.
References check_is_built_and_tag().
|
protected |
Definition at line 33 of file deg_builder_map.cc.
References id_tags_, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default().
Referenced by check_is_built().
| void blender::deg::BuilderMap::tag_built | ( | ID * | id, |
| int | tag = TAG_COMPLETE ) |
Definition at line 20 of file deg_builder_map.cc.
References id_tags_, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_or_add().
Referenced by tag_built().
|
inline |
Definition at line 58 of file deg_builder_map.h.
References tag_built().
Definition at line 70 of file deg_builder_map.h.
Referenced by check_is_built_and_tag(), get_ID_tag(), and tag_built().