Blender
V3.3
|
#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_COMPLETE } |
Public Member Functions | |
bool | checkIsBuilt (ID *id, int tag=TAG_COMPLETE) const |
void | tagBuild (ID *id, int tag=TAG_COMPLETE) |
bool | checkIsBuiltAndTag (ID *id, int tag=TAG_COMPLETE) |
template<typename T > | |
bool | checkIsBuilt (T *datablock, int tag=TAG_COMPLETE) const |
template<typename T > | |
void | tagBuild (T *datablock, int tag=TAG_COMPLETE) |
template<typename T > | |
bool | checkIsBuiltAndTag (T *datablock, int tag=TAG_COMPLETE) |
Protected Member Functions | |
int | getIDTag (ID *id) const |
Protected Attributes | |
Map< ID *, int > | id_tags_ |
Definition at line 16 of file deg_builder_map.h.
anonymous enum |
Enumerator | |
---|---|
TAG_ANIMATION | |
TAG_PARAMETERS | |
TAG_TRANSFORM | |
TAG_GEOMETRY | |
TAG_SCENE_COMPOSITOR | |
TAG_SCENE_SEQUENCER | |
TAG_SCENE_AUDIO | |
TAG_COMPLETE |
Definition at line 18 of file deg_builder_map.h.
bool blender::deg::BuilderMap::checkIsBuilt | ( | ID * | id, |
int | tag = TAG_COMPLETE |
||
) | const |
Definition at line 14 of file deg_builder_map.cc.
References getIDTag().
Referenced by blender::deg::DepsgraphNodeBuilder::build_object_data(), blender::deg::DepsgraphRelationBuilder::build_object_data(), and checkIsBuilt().
|
inline |
Definition at line 43 of file deg_builder_map.h.
References checkIsBuilt().
bool blender::deg::BuilderMap::checkIsBuiltAndTag | ( | ID * | id, |
int | tag = TAG_COMPLETE |
||
) |
Definition at line 24 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_simulation(), blender::deg::DepsgraphRelationBuilder::build_simulation(), 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 checkIsBuiltAndTag().
|
inline |
Definition at line 51 of file deg_builder_map.h.
References checkIsBuiltAndTag().
|
protected |
Definition at line 32 of file deg_builder_map.cc.
References id_tags_, and blender::Map< Key, Value, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::lookup_default().
Referenced by checkIsBuilt().
void blender::deg::BuilderMap::tagBuild | ( | ID * | id, |
int | tag = TAG_COMPLETE |
||
) |
Definition at line 19 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 tagBuild().
|
inline |
Definition at line 47 of file deg_builder_map.h.
References tagBuild().
Definition at line 59 of file deg_builder_map.h.
Referenced by checkIsBuiltAndTag(), getIDTag(), and tagBuild().