Blender  V3.3
Functions
thumbs_blend.c File Reference
#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 ImBufimb_thumb_load_from_blend_id (const char *blen_path, const char *blen_group, const char *blen_id)
 
static ImBufimb_thumb_load_from_blendfile (const char *blen_path)
 
ImBufIMB_thumb_load_blend (const char *blen_path, const char *blen_group, const char *blen_id)
 

Function Documentation

◆ IMB_thumb_load_blend()

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().

◆ imb_thumb_load_from_blend_id()

static ImBuf* imb_thumb_load_from_blend_id ( const char *  blen_path,
const char *  blen_group,
const char *  blen_id 
)
static

◆ imb_thumb_load_from_blendfile()

static ImBuf* imb_thumb_load_from_blendfile ( const char *  blen_path)
static