Blender
V2.93
source
blender
makesdna
DNA_fileglobal_types.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU General Public License
4
* as published by the Free Software Foundation; either version 2
5
* of the License, or (at your option) any later version.
6
*
7
* This program is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10
* GNU General Public License for more details.
11
*
12
* You should have received a copy of the GNU General Public License
13
* along with this program; if not, write to the Free Software Foundation,
14
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
15
*
16
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
17
* All rights reserved.
18
*/
19
24
#pragma once
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
29
34
typedef
struct
FileGlobal
{
36
char
subvstr
[4];
37
38
short
subversion
;
39
short
minversion
,
minsubversion
;
40
char
_pad
[6];
41
struct
bScreen
*
curscreen
;
42
struct
Scene
*
curscene
;
43
struct
ViewLayer
*
cur_view_layer
;
44
void
*
_pad1
;
45
46
int
fileflags
;
47
int
globalf
;
49
uint64_t
build_commit_timestamp
;
51
char
build_hash
[16];
53
char
filename
[1024];
54
}
FileGlobal
;
55
56
/* minversion: in file, the oldest past blender version you can use compliant */
57
/* example: if in 2.43 the meshes lose mesh data, minversion is 2.43 then too */
58
/* or: in 2.42, subversion 1, same as above, minversion then is 2.42, min subversion 1 */
59
/* (defines for version are in the BKE_blender_version.h file, for historic reasons) */
60
61
#ifdef __cplusplus
62
}
63
#endif
FileGlobal
struct FileGlobal FileGlobal
uint64_t
unsigned __int64 uint64_t
Definition:
stdint.h:93
FileGlobal
Definition:
DNA_fileglobal_types.h:34
FileGlobal::_pad1
void * _pad1
Definition:
DNA_fileglobal_types.h:44
FileGlobal::cur_view_layer
struct ViewLayer * cur_view_layer
Definition:
DNA_fileglobal_types.h:43
FileGlobal::build_hash
char build_hash[16]
Definition:
DNA_fileglobal_types.h:51
FileGlobal::globalf
int globalf
Definition:
DNA_fileglobal_types.h:47
FileGlobal::subversion
short subversion
Definition:
DNA_fileglobal_types.h:38
FileGlobal::curscene
struct Scene * curscene
Definition:
DNA_fileglobal_types.h:42
FileGlobal::_pad
char _pad[6]
Definition:
DNA_fileglobal_types.h:40
FileGlobal::subvstr
char subvstr[4]
Definition:
DNA_fileglobal_types.h:36
FileGlobal::build_commit_timestamp
uint64_t build_commit_timestamp
Definition:
DNA_fileglobal_types.h:49
FileGlobal::minsubversion
short minsubversion
Definition:
DNA_fileglobal_types.h:39
FileGlobal::fileflags
int fileflags
Definition:
DNA_fileglobal_types.h:46
FileGlobal::minversion
short minversion
Definition:
DNA_fileglobal_types.h:39
FileGlobal::curscreen
struct bScreen * curscreen
Definition:
DNA_fileglobal_types.h:41
FileGlobal::filename
char filename[1024]
Definition:
DNA_fileglobal_types.h:53
Scene
Definition:
DNA_scene_types.h:1684
ViewLayer
Definition:
DNA_layer_types.h:141
bScreen
Definition:
DNA_screen_types.h:54
Generated on Tue Jan 31 2023 14:37:24 for Blender by
doxygen
1.9.1