34 const char *blen_group,
41 if (libfiledata ==
NULL) {
69 if (blen_group && blen_id) {
void BKE_previewimg_freefunc(void *link)
struct ImBuf * BKE_previewimg_to_imbuf(struct PreviewImage *prv, int size)
short BKE_idtype_idcode_from_name(const char *idtype_name)
struct ImBuf * BKE_main_thumbnail_to_imbuf(struct Main *bmain, struct BlendThumbnail *data)
defines for blend-file codes.
external readfile function prototypes.
struct PreviewImage * BLO_blendhandle_get_preview_for_id(BlendHandle *bh, int ofblocktype, const char *name)
BlendHandle * BLO_blendhandle_from_file(const char *filepath, struct BlendFileReadReport *reports)
struct BlendHandle BlendHandle
void BLO_blendhandle_close(BlendHandle *bh)
struct BlendThumbnail * BLO_thumbnail_from_file(const char *filepath)
ID and Library types, which are fundamental for sdna.
Contains defines and structs used throughout the imbuf module.
Read Guarded memory(de)allocation.
void(* MEM_freeN)(void *vmemh)
static const pxr::TfToken preview("preview", pxr::TfToken::Immortal)
struct ReportList * reports
static ImBuf * imb_thumb_load_from_blend_id(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)
static ImBuf * imb_thumb_load_from_blendfile(const char *blen_path)