Blender
V3.3
|
#include <deg_builder_cache.h>
Public Member Functions | |
AnimatedPropertyStorage () | |
void | initializeFromID (DepsgraphBuilderCache *builder_cache, const ID *id) |
void | tagPropertyAsAnimated (const AnimatedPropertyID &property_id) |
void | tagPropertyAsAnimated (const PointerRNA *pointer_rna, const PropertyRNA *property_rna) |
bool | isPropertyAnimated (const AnimatedPropertyID &property_id) |
bool | isPropertyAnimated (const PointerRNA *pointer_rna, const PropertyRNA *property_rna) |
bool | isAnyPropertyAnimated (const PointerRNA *pointer_rna) |
MEM_CXX_CLASS_ALLOC_FUNCS ("AnimatedPropertyStorage") | |
Public Attributes | |
bool | is_fully_initialized |
Set< const void * > | animated_objects_set |
Set< AnimatedPropertyID > | animated_properties_set |
Definition at line 43 of file deg_builder_cache.h.
blender::deg::AnimatedPropertyStorage::AnimatedPropertyStorage | ( | ) |
Definition at line 101 of file deg_builder_cache.cc.
void blender::deg::AnimatedPropertyStorage::initializeFromID | ( | DepsgraphBuilderCache * | builder_cache, |
const ID * | id | ||
) |
Definition at line 105 of file deg_builder_cache.cc.
References BKE_fcurves_id_cb(), builder_cache, data, and RNA_id_pointer_create().
bool blender::deg::AnimatedPropertyStorage::isAnyPropertyAnimated | ( | const PointerRNA * | pointer_rna | ) |
Definition at line 137 of file deg_builder_cache.cc.
References animated_objects_set, blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::contains(), PointerRNA::data, and pointer_rna.
bool blender::deg::AnimatedPropertyStorage::isPropertyAnimated | ( | const AnimatedPropertyID & | property_id | ) |
Definition at line 126 of file deg_builder_cache.cc.
References animated_properties_set.
Referenced by isPropertyAnimated().
bool blender::deg::AnimatedPropertyStorage::isPropertyAnimated | ( | const PointerRNA * | pointer_rna, |
const PropertyRNA * | property_rna | ||
) |
Definition at line 131 of file deg_builder_cache.cc.
References isPropertyAnimated(), and pointer_rna.
blender::deg::AnimatedPropertyStorage::MEM_CXX_CLASS_ALLOC_FUNCS | ( | "AnimatedPropertyStorage" | ) |
void blender::deg::AnimatedPropertyStorage::tagPropertyAsAnimated | ( | const AnimatedPropertyID & | property_id | ) |
Definition at line 114 of file deg_builder_cache.cc.
References blender::Set< Key, InlineBufferCapacity, ProbingStrategy, Hash, IsEqual, Slot, Allocator >::add(), animated_objects_set, animated_properties_set, and blender::deg::AnimatedPropertyID::data.
Referenced by tagPropertyAsAnimated().
void blender::deg::AnimatedPropertyStorage::tagPropertyAsAnimated | ( | const PointerRNA * | pointer_rna, |
const PropertyRNA * | property_rna | ||
) |
Definition at line 120 of file deg_builder_cache.cc.
References pointer_rna, and tagPropertyAsAnimated().
Definition at line 61 of file deg_builder_cache.h.
Referenced by isAnyPropertyAnimated(), and tagPropertyAsAnimated().
Set<AnimatedPropertyID> blender::deg::AnimatedPropertyStorage::animated_properties_set |
Definition at line 62 of file deg_builder_cache.h.
Referenced by isPropertyAnimated(), and tagPropertyAsAnimated().
bool blender::deg::AnimatedPropertyStorage::is_fully_initialized |
Definition at line 58 of file deg_builder_cache.h.