Blender V4.3
BLO_writefile.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
12struct BlendThumbnail;
13struct Main;
14struct MemFile;
15struct ReportList;
16
17/* -------------------------------------------------------------------- */
36
47
51extern bool BLO_write_file(Main *mainvar,
52 const char *filepath,
53 int write_flags,
55 ReportList *reports);
56
60extern bool BLO_write_file_mem(Main *mainvar, MemFile *compare, MemFile *current, int write_flags);
61
unsigned int uint
bool BLO_write_file(Main *mainvar, const char *filepath, int write_flags, const BlendFileWriteParams *params, ReportList *reports)
eBLO_WritePathRemap
@ BLO_WRITE_PATH_REMAP_NONE
@ BLO_WRITE_PATH_REMAP_RELATIVE_ALL
@ BLO_WRITE_PATH_REMAP_ABSOLUTE
@ BLO_WRITE_PATH_REMAP_RELATIVE
bool BLO_write_file_mem(Main *mainvar, MemFile *compare, MemFile *current, int write_flags)
uiWidgetBaseParameters params[MAX_WIDGET_BASE_BATCH]
const BlendThumbnail * thumb
eBLO_WritePathRemap remap_mode