|
Blender V4.3
|
#include <cstdio>#include <cstdlib>#include <cstring>#include "BLI_listbase.h"#include "BLI_utildefines.h"#include "BLO_readfile.hh"#include "BKE_idtype.hh"#include "BKE_main.hh"#include "BKE_preview_image.hh"#include "IMB_imbuf_types.hh"#include "IMB_thumbs.hh"#include "MEM_guardedalloc.h"Go to the source code of this file.
Functions | |
| static ImBuf * | imb_thumb_load_from_blend_id (const char *blen_path, const char *blen_group, const char *blen_id) |
| static ImBuf * | imb_thumb_load_from_blendfile (const char *blen_path) |
| ImBuf * | IMB_thumb_load_blend (const char *blen_path, const char *blen_group, const char *blen_id) |
| ImBuf * IMB_thumb_load_blend | ( | const char * | blen_path, |
| const char * | blen_group, | ||
| const char * | blen_id ) |
Special function for loading a thumbnail embedded into a blend file.
Definition at line 65 of file thumbs_blend.cc.
References imb_thumb_load_from_blend_id(), and imb_thumb_load_from_blendfile().
Referenced by thumb_create_ex().
|
static |
Definition at line 30 of file thumbs_blend.cc.
References BKE_idtype_idcode_from_name(), BKE_previewimg_freefunc(), BKE_previewimg_to_imbuf(), BLO_blendhandle_close(), BLO_blendhandle_from_file(), BLO_blendhandle_get_preview_for_id(), ICON_SIZE_PREVIEW, and BlendFileReadReport::reports.
Referenced by IMB_thumb_load_blend().
|
static |
Definition at line 54 of file thumbs_blend.cc.
References BKE_main_thumbnail_to_imbuf(), BLO_thumbnail_from_file(), and MEM_freeN().
Referenced by IMB_thumb_load_blend().