Blender V5.3
blender::BlendFileWriteParams Struct Reference

#include <BLO_writefile.hh>

Public Attributes

eBLO_WritePathRemap remap_mode = {}
uint use_save_versions: 1 = false
uint use_save_as_copy: 1 = false
uint use_userdef: 1 = false
uint is_copypaste_buffer: 1 = false
const BlendThumbnail * thumb = nullptr

Detailed Description

Similar to BlendFileReadParams.

Definition at line 42 of file BLO_writefile.hh.

Member Data Documentation

◆ is_copypaste_buffer

uint blender::BlendFileWriteParams::is_copypaste_buffer

This is writing a copy/paste buffer, not a regular blendfile.

Definition at line 50 of file BLO_writefile.hh.

Referenced by blender::bke::blendfile::PartialWriteContext::write_as_copypaste_buffer(), and blender::write_file_main_validate_pre().

◆ remap_mode

◆ thumb

const BlendThumbnail* blender::BlendFileWriteParams::thumb = nullptr

Definition at line 51 of file BLO_writefile.hh.

Referenced by blender::BLO_write_file_impl(), and blender::wm_file_write().

◆ use_save_as_copy

uint blender::BlendFileWriteParams::use_save_as_copy

On write, restore paths after editing them (see BLO_WRITE_PATH_REMAP_RELATIVE).

Definition at line 47 of file BLO_writefile.hh.

Referenced by blender::BLO_write_file_impl(), blender::wm_file_write(), and blender::wm_homefile_write_exec().

◆ use_save_versions

uint blender::BlendFileWriteParams::use_save_versions

Save .blend1, .blend2... etc.

Definition at line 45 of file BLO_writefile.hh.

Referenced by blender::BLO_write_file_impl(), and blender::wm_file_write().

◆ use_userdef

uint blender::BlendFileWriteParams::use_userdef

The documentation for this struct was generated from the following file: