Blender V5.3
cachefile.cc File Reference
#include <cstring>
#include <optional>
#include "DNA_cachefile_types.h"
#include "DNA_object_types.h"
#include "DNA_scene_types.h"
#include "BLI_fileops.hh"
#include "BLI_ghash.hh"
#include "BLI_listbase.hh"
#include "BLI_mutex.hh"
#include "BLI_path_utils.hh"
#include "BLI_string.hh"
#include "BLI_utildefines.hh"
#include "BLT_translation.hh"
#include "BKE_bpath.hh"
#include "BKE_cachefile.hh"
#include "BKE_idtype.hh"
#include "BKE_lib_id.hh"
#include "BKE_library.hh"
#include "BKE_main.hh"
#include "BKE_scene.hh"
#include "DEG_depsgraph_query.hh"
#include "RE_engine.h"
#include "BLO_read_write.hh"
#include "MEM_guardedalloc.h"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static void blender::cachefile_handle_free (CacheFile *cache_file)
static void blender::cache_file_init_data (ID *id)
static void blender::cache_file_copy_data (Main *, std::optional< Library * >, ID *id_dst, const ID *id_src, const int)
static void blender::cache_file_free_data (ID *id)
static void blender::cache_file_foreach_path (ID *id, BPathForeachPathData *bpath_data)
static void blender::cache_file_blend_write (BlendWriter *writer, ID *id, const void *id_address)
static void blender::cache_file_blend_read_data (BlendDataReader *reader, ID *id)
void blender::BKE_cachefile_reader_open (CacheFile *cache_file, CacheReader **reader, Object *object, const char *object_path)
void blender::BKE_cachefile_reader_free (CacheFile *cache_file, CacheReader **reader)
void * blender::BKE_cachefile_add (Main *bmain, const char *name)
void blender::BKE_cachefile_reload (Depsgraph *depsgraph, CacheFile *cache_file)
void blender::BKE_cachefile_eval (Main *bmain, Depsgraph *depsgraph, CacheFile *cache_file)
bool blender::BKE_cachefile_filepath_get (const Main *bmain, const Depsgraph *depsgraph, const CacheFile *cache_file, char r_filepath[FILE_MAX])
double blender::BKE_cachefile_time_offset (const CacheFile *cache_file, double time, double fps)
double blender::BKE_cachefile_frame_offset (const CacheFile *cache_file, double time)
CacheFileLayer * blender::BKE_cachefile_add_layer (CacheFile *cache_file, const char filepath[FILE_MAX])
CacheFileLayer * blender::BKE_cachefile_get_active_layer (CacheFile *cache_file)
void blender::BKE_cachefile_remove_layer (CacheFile *cache_file, CacheFileLayer *layer)