Blender  V3.3
Functions
dds_api.h File Reference
#include "../../IMB_imbuf.h"

Go to the source code of this file.

Functions

bool imb_is_a_dds (const unsigned char *mem, size_t size)
 
bool imb_save_dds (struct ImBuf *ibuf, const char *name, int flags)
 
struct ImBufimb_load_dds (const unsigned char *mem, size_t size, int flags, char colorspace[IM_MAX_SPACE])
 

Function Documentation

◆ imb_is_a_dds()

bool imb_is_a_dds ( const unsigned char *  mem,
size_t  size 
)

Definition at line 61 of file dds_api.cpp.

References size().

Referenced by imb_load_dds().

◆ imb_load_dds()

struct ImBuf* imb_load_dds ( const unsigned char *  mem,
size_t  size,
int  flags,
char  colorspace[IM_MAX_SPACE] 
)

◆ imb_save_dds()

bool imb_save_dds ( struct ImBuf ibuf,
const char *  name,
int  flags 
)

Definition at line 31 of file dds_api.cpp.

References alloc_utf16_from_8(), free(), and ImBuf::rect.