Blender V5.3
blender::FileGlobal Struct Reference

#include <DNA_fileglobal_types.h>

Public Attributes

char subvstr [4] = ""
short subversion = 0
short minversion = 0
short minsubversion = 0
char _pad [6] = {}
struct bScreen * curscreen = nullptr
struct Scene * curscene = nullptr
struct ViewLayer * cur_view_layer = nullptr
void * _pad1 = nullptr
int fileflags = 0
int globalf = 0
uint64_t build_commit_timestamp = 0
char build_hash [16] = ""
char filepath [1024] = ""
char colorspace_scene_linear_name [64] = ""
float colorspace_scene_linear_to_xyz [3][3] = {}
int _pad2 [3] = {}

Detailed Description

FileGlobal stores a part of the current user-interface settings at the moment of saving, and the file-specific settings.

Definition at line 19 of file DNA_fileglobal_types.h.

Member Data Documentation

◆ _pad

char blender::FileGlobal::_pad[6] = {}

Definition at line 25 of file DNA_fileglobal_types.h.

Referenced by blender::write_global().

◆ _pad1

void* blender::FileGlobal::_pad1 = nullptr

Definition at line 29 of file DNA_fileglobal_types.h.

Referenced by blender::write_global().

◆ _pad2

int blender::FileGlobal::_pad2[3] = {}

Definition at line 44 of file DNA_fileglobal_types.h.

◆ build_commit_timestamp

uint64_t blender::FileGlobal::build_commit_timestamp = 0

Commit timestamp from buildinfo.

Definition at line 34 of file DNA_fileglobal_types.h.

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

◆ build_hash

char blender::FileGlobal::build_hash[16] = ""

Hash from buildinfo.

Definition at line 36 of file DNA_fileglobal_types.h.

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

◆ colorspace_scene_linear_name

char blender::FileGlobal::colorspace_scene_linear_name[64] = ""

◆ colorspace_scene_linear_to_xyz

float blender::FileGlobal::colorspace_scene_linear_to_xyz[3][3] = {}

◆ cur_view_layer

struct ViewLayer* blender::FileGlobal::cur_view_layer = nullptr

Definition at line 28 of file DNA_fileglobal_types.h.

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

◆ curscene

struct Scene* blender::FileGlobal::curscene = nullptr

Definition at line 27 of file DNA_fileglobal_types.h.

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

◆ curscreen

struct bScreen* blender::FileGlobal::curscreen = nullptr

Definition at line 26 of file DNA_fileglobal_types.h.

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

◆ fileflags

int blender::FileGlobal::fileflags = 0

◆ filepath

char blender::FileGlobal::filepath[1024] = ""

File path where this was saved, for recover.

Definition at line 38 of file DNA_fileglobal_types.h.

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

◆ globalf

int blender::FileGlobal::globalf = 0

Definition at line 32 of file DNA_fileglobal_types.h.

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

◆ minsubversion

◆ minversion

◆ subversion

◆ subvstr

char blender::FileGlobal::subvstr[4] = ""

Needs to be here, for human file-format recognition (keep first!).

Definition at line 21 of file DNA_fileglobal_types.h.

Referenced by blender::read_file_dna(), and blender::write_global().


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