Blender
V3.3
|
Go to the source code of this file.
Classes | |
struct | Global |
Macros | |
#define | G_FLAG_ALL_RUNTIME |
#define | G_FLAG_ALL_READFILE 0 |
#define | G_DEBUG_ALL |
#define | G_FILE_FLAG_ALL_RUNTIME (G_FILE_NO_UI | G_FILE_RECOVER_READ | G_FILE_RECOVER_WRITE) |
#define | G_MAIN (G).main |
Typedefs | |
typedef struct Global | Global |
Variables | |
Global | G |
Global settings, handles, pointers. This is the root for finding any data in Blender. This block is not serialized, but built anew for every fresh Blender run.
Definition in file BKE_global.h.
#define G_DEBUG_ALL |
Definition at line 203 of file BKE_global.h.
#define G_FILE_FLAG_ALL_RUNTIME (G_FILE_NO_UI | G_FILE_RECOVER_READ | G_FILE_RECOVER_WRITE) |
Run-time only #G.fileflags which are never read or written to/from Blend files. This means we can change the values without worrying about do-versions.
Definition at line 243 of file BKE_global.h.
#define G_FLAG_ALL_READFILE 0 |
Flags to read from blend file.
Definition at line 170 of file BKE_global.h.
#define G_FLAG_ALL_RUNTIME |
Don't overwrite these flags when reading a file.
Definition at line 162 of file BKE_global.h.
Stupid macro to hide the few valid usages of G.main
(from startup/exit code e.g.), helps with cleanup task.
Definition at line 267 of file BKE_global.h.
anonymous enum |
Enumerator | |
---|---|
G_FLAG_RENDER_VIEWPORT | |
G_FLAG_PICKSEL | |
G_FLAG_EVENT_SIMULATE | Support simulating events (for testing). |
G_FLAG_USERPREF_NO_SAVE_ON_EXIT | |
G_FLAG_SCRIPT_AUTOEXEC | |
G_FLAG_SCRIPT_OVERRIDE_PREF | When this flag is set ignore the prefs USER_SCRIPT_AUTOEXEC_DISABLE. |
G_FLAG_SCRIPT_AUTOEXEC_FAIL | |
G_FLAG_SCRIPT_AUTOEXEC_FAIL_QUIET |
Definition at line 147 of file BKE_global.h.
anonymous enum |
Definition at line 173 of file BKE_global.h.
anonymous enum |
Enumerator | |
---|---|
G_FILE_AUTOPACK | |
G_FILE_COMPRESS | |
G_FILE_NO_UI | |
G_FILE_RECOVER_READ | On read, use #FileGlobal.filename instead of the real location on-disk, needed for recovering temp files so relative paths resolve.
|
G_FILE_RECOVER_WRITE | On write, assign use #FileGlobal.filename, otherwise leave it blank, needed so files can be recovered at their original locations.
|
Definition at line 208 of file BKE_global.h.
anonymous enum |
Global.moving, signals drawing in (3d) window to denote transform
Definition at line 246 of file BKE_global.h.
|
extern |
Defined in blender.c
Definition at line 51 of file blender.c.
Referenced by BKE_blender_free(), and BKE_blender_globals_init().