Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_pointcache.h
| Show First 20 Lines • Show All 308 Lines • ▼ Show 20 Lines | |||||
| /* Main cache writing call. */ | /* Main cache writing call. */ | ||||
| int BKE_ptcache_write(PTCacheID *pid, unsigned int cfra); | int BKE_ptcache_write(PTCacheID *pid, unsigned int cfra); | ||||
| /******************* Allocate & free ***************/ | /******************* Allocate & free ***************/ | ||||
| struct PointCache *BKE_ptcache_add(struct ListBase *ptcaches); | struct PointCache *BKE_ptcache_add(struct ListBase *ptcaches); | ||||
| void BKE_ptcache_free_mem(struct ListBase *mem_cache); | void BKE_ptcache_free_mem(struct ListBase *mem_cache); | ||||
| void BKE_ptcache_free(struct PointCache *cache); | void BKE_ptcache_free(struct PointCache *cache); | ||||
| void BKE_ptcache_free_list(struct ListBase *ptcaches); | void BKE_ptcache_free_list(struct ListBase *ptcaches); | ||||
| struct PointCache *BKE_ptcache_copy_list(struct ListBase *ptcaches_new, const struct ListBase *ptcaches_old, bool copy_data); | struct PointCache *BKE_ptcache_copy_list(struct ListBase *ptcaches_new, const struct ListBase *ptcaches_old, const int flag); | ||||
| /********************** Baking *********************/ | /********************** Baking *********************/ | ||||
| /* Bakes cache with cache_step sized jumps in time, not accurate but very fast. */ | /* Bakes cache with cache_step sized jumps in time, not accurate but very fast. */ | ||||
| void BKE_ptcache_quick_cache_all(struct Main *bmain, struct Scene *scene); | void BKE_ptcache_quick_cache_all(struct Main *bmain, struct Scene *scene); | ||||
| /* Bake cache or simulate to current frame with settings defined in the baker. */ | /* Bake cache or simulate to current frame with settings defined in the baker. */ | ||||
| void BKE_ptcache_bake(struct PTCacheBaker *baker); | void BKE_ptcache_bake(struct PTCacheBaker *baker); | ||||
| Show All 23 Lines | |||||