|
Blender
V2.93
|
#include <BKE_global.h>
Public Attributes | |
| struct Main * | main |
| char | ima [1024] |
| char | lib [1024] |
| bool | relbase_valid |
| bool | file_loaded |
| bool | save_over |
| struct ListBase | recent_files |
| bool | is_break |
| bool | background |
| bool | factory_startup |
| short | moving |
| bool | is_rendering |
| short | debug_value |
| int | f |
| struct { | |
| int level | |
| void * file | |
| } | log |
| int | debug |
| int | fileflags |
| char | autoexec_fail [200] |
Definition at line 38 of file BKE_global.h.
| char Global::autoexec_fail[200] |
Message to use when auto execution fails.
Definition at line 103 of file BKE_global.h.
| bool Global::background |
Definition at line 57 of file BKE_global.h.
| int Global::debug |
debug flag, G_DEBUG, G_DEBUG_PYTHON & friends, set python or command line args
Definition at line 97 of file BKE_global.h.
Referenced by Freestyle::ViewMapBuilder::BuildGrid(), Freestyle::computeCumulativeVisibility(), Freestyle::computeDetailedVisibility(), Freestyle::ViewMapBuilder::ComputeEdgesVisibility(), Freestyle::computeFastVisibility(), Freestyle::ViewMapBuilder::ComputeIntersections(), Freestyle::ViewMapBuilder::ComputeRayCastingVisibility(), Freestyle::ViewMapBuilder::ComputeSweepLineIntersections(), Freestyle::computeVeryFastVisibility(), Freestyle::computeVisibility(), Freestyle::ViewMapBuilder::CullViewEdges(), and Freestyle::findOccludee().
| short Global::debug_value |
Debug value, can be set from the UI and python, used for testing nonstandard features. DO NOT abuse it with generic checks like if (G.debug_value > 0). Do not use it as bitflags. Only precise specific values should be checked for, to avoid unpredictable side-effects. Please document here the value(s) you are using (or a range of values reserved to some area).
Definition at line 83 of file BKE_global.h.
| int Global::f |
Saved to the blend file as FileGlobal.globalf, however this is now only used for runtime options.
Definition at line 87 of file BKE_global.h.
Referenced by BKE_blender_globals_init().
| bool Global::factory_startup |
Definition at line 58 of file BKE_global.h.
| void* Global::file |
FILE handle or use stderr (we own this so close when done).
Definition at line 93 of file BKE_global.h.
Referenced by BKE_blender_free().
| bool Global::file_loaded |
Definition at line 48 of file BKE_global.h.
| int Global::fileflags |
This variable is written to / read from FileGlobal.fileflags
Definition at line 100 of file BKE_global.h.
| char Global::ima[1024] |
Strings: last saved
Definition at line 44 of file BKE_global.h.
Referenced by BKE_blender_globals_init().
| bool Global::is_break |
Has escape been pressed or Ctrl+C pressed in background mode, used for render quit.
Definition at line 55 of file BKE_global.h.
| bool Global::is_rendering |
To indicate render is busy, prevent render-window events etc.
Definition at line 63 of file BKE_global.h.
| int Global::level |
Logging vars (different loggers may use).
Definition at line 91 of file BKE_global.h.
Referenced by BKE_blender_globals_init().
| char Global::lib[1024] |
Definition at line 44 of file BKE_global.h.
| struct { ... } Global::log |
Referenced by BKE_blender_free(), and BKE_blender_globals_init().
| struct Main* Global::main |
Active pointers.
Definition at line 41 of file BKE_global.h.
| short Global::moving |
Definition at line 60 of file BKE_global.h.
| struct ListBase Global::recent_files |
Strings of recent opened files.
Definition at line 49 of file BKE_global.h.
| bool Global::relbase_valid |
When set: G_MAIN->name contains valid relative base path.
Definition at line 47 of file BKE_global.h.
| bool Global::save_over |
Definition at line 49 of file BKE_global.h.