Blender V5.3
format_targa.cc File Reference

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Functions

static std::tuple< WriteContext, ImageSpec > blender::prepare_save_tga (ImBuf *ibuf, ImBufFlags flags)

Format: TARGA (#IMB_FTYPE_TGA)

const char * blender::imb_file_extensions_tga [] = {".tga", ".tpic", nullptr}
bool blender::imb_is_a_tga (const uchar *mem, size_t size)
ImBuf * blender::imb_load_tga (const uchar *mem, size_t size, ImBufFlags flags, ImFileColorSpace &r_colorspace)
bool blender::imb_save_tga (ImBuf *ibuf, const char *filepath, ImBufFlags flags)
Vector< uint8_t > blender::imb_save_buffer_tga (ImBuf *ibuf, ImBufFlags flags)