Blender  V3.3
DNA_fileglobal_types.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-or-later
2  * Copyright 2001-2002 NaN Holding BV. All rights reserved. */
3 
8 #pragma once
9 
10 #ifdef __cplusplus
11 extern "C" {
12 #endif
13 
18 typedef struct FileGlobal {
20  char subvstr[4];
21 
22  short subversion;
24  char _pad[6];
25  struct bScreen *curscreen;
26  struct Scene *curscene;
28  void *_pad1;
29 
30  int fileflags;
31  int globalf;
35  char build_hash[16];
37  char filepath[1024];
39 
40 /* minversion: in file, the oldest past blender version you can use compliant */
41 /* example: if in 2.43 the meshes lose mesh data, minversion is 2.43 then too */
42 /* or: in 2.42, subversion 1, same as above, minversion then is 2.42, min subversion 1 */
43 /* (defines for version are in the BKE_blender_version.h file, for historic reasons) */
44 
45 #ifdef __cplusplus
46 }
47 #endif
struct FileGlobal FileGlobal
unsigned __int64 uint64_t
Definition: stdint.h:90
struct ViewLayer * cur_view_layer
struct Scene * curscene
uint64_t build_commit_timestamp
struct bScreen * curscreen
char filepath[1024]