Blender V5.0
BlendFileData Struct Reference

#include <BLO_readfile.hh>

Inherits blender::NonCopyable, and blender::NonMovable.

Public Attributes

Mainmain = nullptr
UserDefuser = nullptr
int fileflags = 0
int globalf = 0
char filepath [1024] = {}
bScreencurscreen = nullptr
Scenecurscene = nullptr
ViewLayercur_view_layer = nullptr
eBlenFileType type = eBlenFileType(0)

Additional Inherited Members

Public Member Functions inherited from blender::NonCopyable
 NonCopyable (const NonCopyable &other)=delete
NonCopyableoperator= (const NonCopyable &other)=delete
 NonCopyable ()=default
 NonCopyable (NonCopyable &&other)=default
NonCopyableoperator= (NonCopyable &&other)=default
Public Member Functions inherited from blender::NonMovable
 NonMovable (NonMovable &&other)=delete
NonMovableoperator= (NonMovable &&other)=delete
 NonMovable ()=default
 NonMovable (const NonMovable &other)=default
NonMovableoperator= (const NonMovable &other)=default

Detailed Description

Definition at line 60 of file BLO_readfile.hh.

Member Data Documentation

◆ cur_view_layer

ViewLayer* BlendFileData::cur_view_layer = nullptr

Layer to activate in workspaces when reading without UI.

Definition at line 77 of file BLO_readfile.hh.

Referenced by blo_read_file_internal(), link_global(), read_global(), and setup_app_data().

◆ curscene

Scene* BlendFileData::curscene = nullptr

◆ curscreen

bScreen* BlendFileData::curscreen = nullptr

TODO: think this isn't needed anymore?

Definition at line 74 of file BLO_readfile.hh.

Referenced by link_global(), read_global(), and setup_app_data().

◆ fileflags

int BlendFileData::fileflags = 0

Definition at line 64 of file BLO_readfile.hh.

Referenced by read_global(), and setup_app_data().

◆ filepath

char BlendFileData::filepath[1024] = {}

Typically the actual filepath of the read blend-file, except when recovering save-on-exit/autosave files. In the latter case, it will be the path of the file that generated the auto-saved one being recovered.

NOTE: Currently expected to be the same path as BlendFileData.filepath.

Definition at line 71 of file BLO_readfile.hh.

Referenced by blo_read_file_internal(), read_global(), and setup_app_data().

◆ globalf

int BlendFileData::globalf = 0

Definition at line 65 of file BLO_readfile.hh.

Referenced by read_global(), and setup_app_data().

◆ main

◆ type

eBlenFileType BlendFileData::type = eBlenFileType(0)

Definition at line 79 of file BLO_readfile.hh.

Referenced by blo_read_file_internal().

◆ user


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