Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_pointcache.h
| Show First 20 Lines • Show All 316 Lines • ▼ Show 20 Lines | |||||
| /* Size of cache data type. */ | /* Size of cache data type. */ | ||||
| int BKE_ptcache_data_size(int data_type); | int BKE_ptcache_data_size(int data_type); | ||||
| /* Is point with index in memory cache */ | /* Is point with index in memory cache */ | ||||
| int BKE_ptcache_mem_index_find(struct PTCacheMem *pm, unsigned int index); | int BKE_ptcache_mem_index_find(struct PTCacheMem *pm, unsigned int index); | ||||
| /* Memory cache read/write helpers. */ | /* Memory cache read/write helpers. */ | ||||
| void BKE_ptcache_mem_pointers_init(struct PTCacheMem *pm); | void BKE_ptcache_mem_pointers_init(struct PTCacheMem *pm, void *cur[BPHYS_TOT_DATA]); | ||||
| void BKE_ptcache_mem_pointers_incr(struct PTCacheMem *pm); | void BKE_ptcache_mem_pointers_incr(void *cur[BPHYS_TOT_DATA]); | ||||
| int BKE_ptcache_mem_pointers_seek(int point_index, struct PTCacheMem *pm); | int BKE_ptcache_mem_pointers_seek(int point_index, | ||||
| struct PTCacheMem *pm, | |||||
| void *cur[BPHYS_TOT_DATA]); | |||||
| /* Main cache reading call. */ | /* Main cache reading call. */ | ||||
| int BKE_ptcache_read(PTCacheID *pid, float cfra, bool no_extrapolate_old); | int BKE_ptcache_read(PTCacheID *pid, float cfra, bool no_extrapolate_old); | ||||
| /* 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 ***************/ | ||||
| ▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines | |||||