|
Blender
V3.3
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include "BLI_linklist.h"#include "BLI_listbase.h"#include "BLI_utildefines.h"#include "BLO_blend_defs.h"#include "BLO_readfile.h"#include "BKE_icons.h"#include "BKE_idtype.h"#include "BKE_main.h"#include "DNA_ID.h"#include "IMB_imbuf.h"#include "IMB_imbuf_types.h"#include "IMB_thumbs.h"#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 67 of file thumbs_blend.c.
References imb_thumb_load_from_blend_id(), and imb_thumb_load_from_blendfile().
Referenced by thumb_create_ex().
|
static |
Definition at line 33 of file thumbs_blend.c.
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, NULL, usdtokens::preview(), and BlendFileReadReport::reports.
Referenced by IMB_thumb_load_blend().
|
static |
Definition at line 56 of file thumbs_blend.c.
References BKE_main_thumbnail_to_imbuf(), BLO_thumbnail_from_file(), data, MEM_freeN, and NULL.
Referenced by IMB_thumb_load_blend().