Blender
V5.3
source
blender
makesdna
DNA_fileglobal_types.h
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
8
9
#pragma once
10
11
#include <cstdint>
12
13
namespace
blender
{
14
19
struct
FileGlobal
{
21
char
subvstr
[4] =
""
;
22
23
short
subversion
= 0;
24
short
minversion
= 0,
minsubversion
= 0;
25
char
_pad
[6] = {};
26
struct
bScreen
*
curscreen
=
nullptr
;
27
struct
Scene
*
curscene
=
nullptr
;
28
struct
ViewLayer
*
cur_view_layer
=
nullptr
;
29
void
*
_pad1
=
nullptr
;
30
31
int
fileflags
= 0;
32
int
globalf
= 0;
34
uint64_t
build_commit_timestamp
= 0;
36
char
build_hash
[16] =
""
;
38
char
filepath
[
/*FILE_MAX*/
1024] =
""
;
39
40
/* Working colorspace, for automatic conversion. Note the matrix is
41
* the source of truth, the name is only for user interface and diagnosis. */
42
char
colorspace_scene_linear_name
[
/*MAX_COLORSPACE_NAME*/
64] =
""
;
43
float
colorspace_scene_linear_to_xyz
[3][3] = {};
44
int
_pad2
[3] = {};
45
};
46
47
/* minversion: in file, the oldest past blender version you can use compliant */
48
/* example: if in 2.43 the meshes lose mesh data, minversion is 2.43 then too */
49
/* or: in 2.42, subversion 1, same as above, minversion then is 2.42, min subversion 1 */
50
/* (defines for version are in the BKE_blender_version.h file, for historic reasons) */
51
52
}
// namespace blender
blender
BMesh Iterators.
Definition
ANIM_action.hh:30
blender::uint64_t
unsigned __int64 uint64_t
Definition
BKE_text.h:91
blender::FileGlobal
Definition
DNA_fileglobal_types.h:19
blender::FileGlobal::curscreen
struct bScreen * curscreen
Definition
DNA_fileglobal_types.h:26
blender::FileGlobal::filepath
char filepath[1024]
Definition
DNA_fileglobal_types.h:38
blender::FileGlobal::fileflags
int fileflags
Definition
DNA_fileglobal_types.h:31
blender::FileGlobal::minversion
short minversion
Definition
DNA_fileglobal_types.h:24
blender::FileGlobal::build_commit_timestamp
uint64_t build_commit_timestamp
Definition
DNA_fileglobal_types.h:34
blender::FileGlobal::_pad2
int _pad2[3]
Definition
DNA_fileglobal_types.h:44
blender::FileGlobal::_pad1
void * _pad1
Definition
DNA_fileglobal_types.h:29
blender::FileGlobal::_pad
char _pad[6]
Definition
DNA_fileglobal_types.h:25
blender::FileGlobal::minsubversion
short minsubversion
Definition
DNA_fileglobal_types.h:24
blender::FileGlobal::curscene
struct Scene * curscene
Definition
DNA_fileglobal_types.h:27
blender::FileGlobal::subvstr
char subvstr[4]
Definition
DNA_fileglobal_types.h:21
blender::FileGlobal::build_hash
char build_hash[16]
Definition
DNA_fileglobal_types.h:36
blender::FileGlobal::colorspace_scene_linear_name
char colorspace_scene_linear_name[64]
Definition
DNA_fileglobal_types.h:42
blender::FileGlobal::globalf
int globalf
Definition
DNA_fileglobal_types.h:32
blender::FileGlobal::colorspace_scene_linear_to_xyz
float colorspace_scene_linear_to_xyz[3][3]
Definition
DNA_fileglobal_types.h:43
blender::FileGlobal::subversion
short subversion
Definition
DNA_fileglobal_types.h:23
blender::FileGlobal::cur_view_layer
struct ViewLayer * cur_view_layer
Definition
DNA_fileglobal_types.h:28
blender::Scene
Definition
DNA_scene_types.h:2876
blender::ViewLayer
Definition
DNA_layer_types.h:262
blender::bScreen
Definition
DNA_screen_types.h:95
Generated on
for Blender by
doxygen
1.18.0