Blender V5.0
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 <stdint.h>
12
17typedef struct FileGlobal {
19 char subvstr[4];
20
23 char _pad[6];
25 struct Scene *curscene;
27 void *_pad1;
28
34 char build_hash[16];
36 char filepath[/*FILE_MAX*/ 1024];
37
38 /* Working colorspace, for automatic conversion. Note the matrix is
39 * the source of truth, the name is only for user interface and diagnosis. */
40 char colorspace_scene_linear_name[/*MAX_COLORSPACE_NAME*/ 64];
42 int _pad2[3];
44
45/* minversion: in file, the oldest past blender version you can use compliant */
46/* example: if in 2.43 the meshes lose mesh data, minversion is 2.43 then too */
47/* or: in 2.42, subversion 1, same as above, minversion then is 2.42, min subversion 1 */
48/* (defines for version are in the BKE_blender_version.h file, for historic reasons) */
unsigned long long int uint64_t
struct ViewLayer * cur_view_layer
struct Scene * curscene
float colorspace_scene_linear_to_xyz[3][3]
uint64_t build_commit_timestamp
char colorspace_scene_linear_name[64]
struct bScreen * curscreen
char filepath[1024]