|
Blender
V2.93
|
Go to the source code of this file.
Functions | |
| void | BKE_cachefiles_init (void) |
| void | BKE_cachefiles_exit (void) |
| void * | BKE_cachefile_add (struct Main *bmain, const char *name) |
| void | BKE_cachefile_reload (struct Depsgraph *depsgraph, struct CacheFile *cache_file) |
| void | BKE_cachefile_eval (struct Main *bmain, struct Depsgraph *depsgraph, struct CacheFile *cache_file) |
| bool | BKE_cachefile_filepath_get (const struct Main *bmain, const struct Depsgraph *depsgrah, const struct CacheFile *cache_file, char r_filename[1024]) |
| float | BKE_cachefile_time_offset (const struct CacheFile *cache_file, const float time, const float fps) |
| void | BKE_cachefile_reader_open (struct CacheFile *cache_file, struct CacheReader **reader, struct Object *object, const char *object_path) |
| void | BKE_cachefile_reader_free (struct CacheFile *cache_file, struct CacheReader **reader) |
| void* BKE_cachefile_add | ( | struct Main * | bmain, |
| const char * | name | ||
| ) |
Definition at line 254 of file cachefile.c.
References BKE_id_new(), and ID_CF.
Referenced by import_startjob().
| void BKE_cachefile_eval | ( | struct Main * | bmain, |
| struct Depsgraph * | depsgraph, | ||
| struct CacheFile * | cache_file | ||
| ) |
Definition at line 272 of file cachefile.c.
References ABC_create_handle(), BKE_cachefile_filepath_get(), BLI_assert, BLI_duplicatelist(), BLI_freelistN(), BLI_strncpy(), cachefile_handle_free(), DEG_get_original_id(), DEG_is_active(), depsgraph, FILE_MAX, CacheFile::handle, CacheFile::handle_filepath, CacheFile::id, LIB_TAG_COPIED_ON_WRITE, CacheFile::object_paths, STREQ, and ID::tag.
Referenced by blender::deg::DepsgraphNodeBuilder::build_cachefile().
| bool BKE_cachefile_filepath_get | ( | const struct Main * | bmain, |
| const struct Depsgraph * | depsgrah, | ||
| const struct CacheFile * | cache_file, | ||
| char | r_filename[1024] | ||
| ) |
| void BKE_cachefile_reader_free | ( | struct CacheFile * | cache_file, |
| struct CacheReader ** | reader | ||
| ) |
Definition at line 198 of file cachefile.c.
References BLI_assert, BLI_gset_remove(), BLI_spin_lock(), BLI_spin_unlock(), CacheReader_free(), CacheFile::handle_readers, CacheFile::id, LIB_TAG_COPIED_ON_WRITE, NULL, spin, ID::tag, and UNUSED_VARS.
Referenced by freeData(), and transformcache_free().
| void BKE_cachefile_reader_open | ( | struct CacheFile * | cache_file, |
| struct CacheReader ** | reader, | ||
| struct Object * | object, | ||
| const char * | object_path | ||
| ) |
Definition at line 164 of file cachefile.c.
References BLI_assert, BLI_gset_ptr_new(), BLI_gset_reinsert(), BLI_gset_remove(), BLI_spin_lock(), BLI_spin_unlock(), CacheReader_open_alembic_object(), CacheFile::handle, CacheFile::handle_readers, CacheFile::id, LIB_TAG_COPIED_ON_WRITE, NULL, spin, ID::tag, and UNUSED_VARS.
Referenced by modifyMesh(), and transformcache_evaluate().
Definition at line 261 of file cachefile.c.
References cachefile_handle_free(), DEG_get_evaluated_id(), DEG_id_tag_update(), depsgraph, CacheFile::id, and ID_RECALC_COPY_ON_WRITE.
Referenced by cachefile_reload_exec().
| float BKE_cachefile_time_offset | ( | const struct CacheFile * | cache_file, |
| const float | time, | ||
| const float | fps | ||
| ) |
Referenced by modifyMesh(), and transformcache_evaluate().
| void BKE_cachefiles_exit | ( | void | ) |
Definition at line 159 of file cachefile.c.
References BLI_spin_end(), and spin.
Referenced by BKE_blender_free().
| void BKE_cachefiles_init | ( | void | ) |
Definition at line 154 of file cachefile.c.
References BLI_spin_init(), and spin.
Referenced by main().