Blender V5.3
blender::BlendFileData Struct Reference

#include <BLO_readfile.hh>

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

Public Attributes

Main * main = nullptr
UserDef * user = nullptr
int fileflags = 0
int globalf = 0
char filepath [1024] = {}
bScreen * curscreen = nullptr
Scene * curscene = nullptr
ViewLayer * cur_view_layer = nullptr
eBlenFileType type = eBlenFileType(0)

Additional Inherited Members

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

Detailed Description

Definition at line 61 of file BLO_readfile.hh.

Member Data Documentation

◆ cur_view_layer

◆ curscene

◆ curscreen

bScreen* blender::BlendFileData::curscreen = nullptr

TODO: think this isn't needed anymore?

Definition at line 77 of file BLO_readfile.hh.

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

◆ fileflags

int blender::BlendFileData::fileflags = 0

Definition at line 65 of file BLO_readfile.hh.

Referenced by blender::read_global(), and blender::setup_app_data().

◆ filepath

char blender::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 74 of file BLO_readfile.hh.

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

◆ globalf

int blender::BlendFileData::globalf = 0

Definition at line 66 of file BLO_readfile.hh.

Referenced by blender::read_global(), and blender::setup_app_data().

◆ main

◆ type

eBlenFileType blender::BlendFileData::type = eBlenFileType(0)

Definition at line 82 of file BLO_readfile.hh.

Referenced by blender::blo_read_file_internal().

◆ user


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