Blender V5.3
BKE_packedFile.hh File Reference

Go to the source code of this file.

Classes

struct  blender::PackedFileCount

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define RET_OK   0
#define RET_ERROR   1

Enumerations

enum  blender::ePF_FileCompare { blender::PF_CMP_EQUAL = 0 , blender::PF_CMP_DIFFERS = 1 , blender::PF_CMP_NOFILE = 2 }
enum  blender::ePF_FileStatus {
  blender::PF_WRITE_ORIGINAL = 3 , blender::PF_WRITE_LOCAL = 4 , blender::PF_USE_LOCAL = 5 , blender::PF_USE_ORIGINAL = 6 ,
  blender::PF_KEEP = 7 , blender::PF_REMOVE = 8 , blender::PF_ASK = 10
}

Functions

PackedFile * blender::BKE_packedfile_duplicate (const PackedFile *pf_src)
PackedFile * blender::BKE_packedfile_new (ReportList *reports, const char *filepath_rel, const char *basepath)
PackedFile * blender::BKE_packedfile_new_from_memory (const void *mem, int memlen, const ImplicitSharingInfo *sharing_info=nullptr)
void blender::BKE_packedfile_pack_all (Main *bmain, ReportList *reports, bool verbose)
void blender::BKE_packedfile_pack_all_libraries (Main *bmain, ReportList *reports)
char * blender::BKE_packedfile_unpack_to_file (ReportList *reports, const char *ref_file_name, const char *abs_name, const char *local_name, PackedFile *pf, enum ePF_FileStatus how)
char * blender::BKE_packedfile_unpack (Main *bmain, ReportList *reports, ID *id, const char *orig_file_path, PackedFile *pf, enum ePF_FileStatus how)
int blender::BKE_packedfile_unpack_vfont (Main *bmain, ReportList *reports, VFont *vfont, enum ePF_FileStatus how)
int blender::BKE_packedfile_unpack_sound (Main *bmain, ReportList *reports, bSound *sound, enum ePF_FileStatus how)
int blender::BKE_packedfile_unpack_image (Main *bmain, ReportList *reports, Image *ima, enum ePF_FileStatus how)
int blender::BKE_packedfile_unpack_volume (Main *bmain, ReportList *reports, Volume *volume, enum ePF_FileStatus how)
void blender::BKE_packedfile_unpack_all (Main *bmain, ReportList *reports, enum ePF_FileStatus how)
int blender::BKE_packedfile_unpack_all_libraries (Main *bmain, ReportList *reports)
int blender::BKE_packedfile_write_to_file (ReportList *reports, const char *ref_file_name, const char *filepath_rel, PackedFile *pf)
void blender::BKE_packedfile_free (PackedFile *pf)
PackedFileCount blender::BKE_packedfile_count_all (Main *bmain)
ePF_FileCompare blender::BKE_packedfile_compare_to_file (const char *ref_file_name, const char *filepath_rel, const PackedFile *pf)
int blender::BKE_packedfile_seek (PackedFile *pf, int offset, int whence)
void blender::BKE_packedfile_rewind (PackedFile *pf)
int blender::BKE_packedfile_read (PackedFile *pf, void *data, int size)
bool blender::BKE_packedfile_id_check (const ID *id)
void blender::BKE_packedfile_id_unpack (Main *bmain, ID *id, ReportList *reports, enum ePF_FileStatus how)
void blender::BKE_packedfile_blend_write (BlendWriter *writer, const PackedFile *pf)
void blender::BKE_packedfile_blend_read (BlendDataReader *reader, PackedFile **pf_p, StringRefNull filepath)

Variables

constexpr int64_t blender::PACKED_FILE_MAX_SIZE = INT32_MAX

Macro Definition Documentation

◆ RET_ERROR

◆ RET_OK