Blender V5.3
IMB_cache.hh File Reference
#include "BLI_ghash.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Typedefs

using blender::ImBufCacheGetKeyDataFP
using blender::ImBufCacheGetPriorityDataFP = void *(*)(void *userkey)
using blender::ImBufCacheGetItemPriorityFP = int (*)(void *last_userkey, void *priority_data)
using blender::ImBufCachePriorityDeleterFP = void (*)(void *priority_data)

Functions

void blender::IMB_cache_init ()
void blender::IMB_cache_destruct ()
ImBufCache * blender::IMB_cache_create (const char *name, int keysize, GHashHashFP hashfp, GHashCmpFP cmpfp)
void blender::IMB_cache_set_getdata_callback (ImBufCache *cache, ImBufCacheGetKeyDataFP getdatafp)
void blender::IMB_cache_set_priority_callback (ImBufCache *cache, ImBufCacheGetPriorityDataFP getprioritydatafp, ImBufCacheGetItemPriorityFP getitempriorityfp, ImBufCachePriorityDeleterFP prioritydeleterfp)
void blender::IMB_cache_put (ImBufCache *cache, void *userkey, ImBuf *ibuf)
bool blender::IMB_cache_put_if_possible (ImBufCache *cache, void *userkey, ImBuf *ibuf)
ImBuf * blender::IMB_cache_get (ImBufCache *cache, void *userkey, bool *r_is_cached_empty)
void blender::IMB_cache_remove (ImBufCache *cache, void *userkey)
bool blender::IMB_cache_has_frame (ImBufCache *cache, void *userkey)
void blender::IMB_cache_free (ImBufCache *cache)
void blender::IMB_cache_cleanup (ImBufCache *cache, bool(cleanup_check_cb)(ImBuf *ibuf, void *userkey, void *userdata), void *userdata)
void blender::IMB_cache_get_cache_segments (ImBufCache *cache, int proxy, int render_flags, int *r_totseg, int **r_points)
ImBufCacheIter * blender::IMB_cacheIter_new (ImBufCache *cache)
void blender::IMB_cacheIter_free (ImBufCacheIter *iter)
bool blender::IMB_cacheIter_done (ImBufCacheIter *iter)
void blender::IMB_cacheIter_step (ImBufCacheIter *iter)
ImBuf * blender::IMB_cacheIter_getImBuf (ImBufCacheIter *iter)
void * blender::IMB_cacheIter_getUserKey (ImBufCacheIter *iter)