Blender
V3.3
|
external writefile.c
function prototypes.
More...
Go to the source code of this file.
Classes | |
struct | BlendFileWriteParams |
BLO Write File API | |
| |
enum | eBLO_WritePathRemap { BLO_WRITE_PATH_REMAP_NONE = 0 , BLO_WRITE_PATH_REMAP_RELATIVE = 1 , BLO_WRITE_PATH_REMAP_RELATIVE_ALL = 2 , BLO_WRITE_PATH_REMAP_ABSOLUTE = 3 } |
typedef enum eBLO_WritePathRemap | eBLO_WritePathRemap |
bool | BLO_write_file (struct Main *mainvar, const char *filepath, int write_flags, const struct BlendFileWriteParams *params, struct ReportList *reports) |
bool | BLO_write_file_mem (struct Main *mainvar, struct MemFile *compare, struct MemFile *current, int write_flags) |
external writefile.c
function prototypes.
Definition in file BLO_writefile.h.
typedef enum eBLO_WritePathRemap eBLO_WritePathRemap |
Adjust paths when saving (kept unless BlendFileWriteParams.use_save_as_copy is set).
enum eBLO_WritePathRemap |
Adjust paths when saving (kept unless BlendFileWriteParams.use_save_as_copy is set).
Definition at line 29 of file BLO_writefile.h.
bool BLO_write_file | ( | struct Main * | mainvar, |
const char * | filepath, | ||
int | write_flags, | ||
const struct BlendFileWriteParams * | params, | ||
struct ReportList * | reports | ||
) |
Definition at line 1315 of file writefile.c.
References BKE_bpath_absolute_convert(), BKE_BPATH_FOREACH_PATH_SKIP_LINKED, BKE_BPATH_FOREACH_PATH_SKIP_MULTIFILE, BKE_bpath_list_backup(), BKE_bpath_list_free(), BKE_bpath_list_restore(), BKE_bpath_relative_convert(), BKE_bpath_relative_rebase(), BKE_report(), BKE_reportf(), BLI_assert, BLI_assert_unreachable, BLI_path_cmp, BLI_path_is_abs_from_cwd(), BLI_path_is_rel(), BLI_path_normalize(), BLI_rename(), BLI_snprintf(), BLI_split_dir_part(), BLO_main_validate_libraries(), BLO_main_validate_shapekeys(), BLO_WRITE_PATH_REMAP_ABSOLUTE, BLO_WRITE_PATH_REMAP_NONE, BLO_WRITE_PATH_REMAP_RELATIVE, BLO_WRITE_PATH_REMAP_RELATIVE_ALL, WriteWrap::close, do_history(), err, FILE_MAX, Main::filepath, G, G_DEBUG_IO, G_FILE_COMPRESS, Main::lock, NULL, WriteWrap::open, params, blender::bke::attribute_accessor_functions::remove(), RPT_ERROR, RPT_INFO, STRNCPY, UNLIKELY, write_file_handle(), ww_handle_init(), WW_WRAP_NONE, and WW_WRAP_ZSTD.
Referenced by BKE_blendfile_userdef_write(), BKE_blendfile_write_partial(), BKE_memfile_undo_encode(), wm_autosave_write(), WM_exit_ex(), wm_file_write(), wm_homefile_write_exec(), and write_crash_blend().
bool BLO_write_file_mem | ( | struct Main * | mainvar, |
struct MemFile * | compare, | ||
struct MemFile * | current, | ||
int | write_flags | ||
) |
Definition at line 1479 of file writefile.c.
References err, NULL, and write_file_handle().
Referenced by BKE_memfile_undo_encode().