Blender  V3.3
Classes | Macros | Enumerations | Functions | Variables
creator_intern.h File Reference

Go to the source code of this file.

Classes

struct  ApplicationState
 

Macros

#define BLEND_VERSION_FMT   "Blender %d.%d.%d"
 
#define BLEND_VERSION_ARG   (BLENDER_VERSION / 100), (BLENDER_VERSION % 100), BLENDER_VERSION_PATCH
 

Enumerations

enum  {
  ARG_PASS_ENVIRONMENT = 1 , ARG_PASS_SETTINGS = 2 , ARG_PASS_SETTINGS_GUI = 3 , ARG_PASS_SETTINGS_FORCE = 4 ,
  ARG_PASS_FINAL = 5
}
 

Functions

void main_args_setup (struct bContext *C, struct bArgs *ba)
 
void main_args_setup_post (struct bContext *C, struct bArgs *ba)
 
void main_signal_setup (void)
 
void main_signal_setup_background (void)
 
void main_signal_setup_fpe (void)
 

Variables

struct ApplicationState app_state
 
char build_date []
 
char build_time []
 
char build_hash []
 
unsigned long build_commit_timestamp
 
char build_commit_date [16]
 
char build_commit_time [16]
 
char build_branch []
 
char build_platform []
 
char build_type []
 
char build_cflags []
 
char build_cxxflags []
 
char build_linkflags []
 
char build_system []
 

Detailed Description

Functionality for main() initialization.

Definition in file creator_intern.h.

Macro Definition Documentation

◆ BLEND_VERSION_ARG

#define BLEND_VERSION_ARG   (BLENDER_VERSION / 100), (BLENDER_VERSION % 100), BLENDER_VERSION_PATCH

Definition at line 64 of file creator_intern.h.

◆ BLEND_VERSION_FMT

#define BLEND_VERSION_FMT   "Blender %d.%d.%d"

Definition at line 63 of file creator_intern.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

Passes for use by main_args_setup. Keep in order of execution.

Enumerator
ARG_PASS_ENVIRONMENT 

Run before sub-system initialization.

ARG_PASS_SETTINGS 

General settings parsing, also animation player.

ARG_PASS_SETTINGS_GUI 

Windowing & graphical settings (ignored in background mode).

ARG_PASS_SETTINGS_FORCE 

Currently use for audio devices.

ARG_PASS_FINAL 

Actions & fall back to loading blend file.

Definition at line 47 of file creator_intern.h.

Function Documentation

◆ main_args_setup()

void main_args_setup ( struct bContext C,
struct bArgs ba 
)

Definition at line 2031 of file creator_args.c.

References arg_handle_abort_handler_disable(), arg_handle_addons_set(), arg_handle_app_template(), arg_handle_arguments_end(), arg_handle_audio_disable(), arg_handle_audio_set(), arg_handle_background_mode_set(), arg_handle_crash_handler_disable(), arg_handle_debug_exit_on_error(), arg_handle_debug_fpe_set(), arg_handle_debug_gpu_set(), arg_handle_debug_mode_all(), arg_handle_debug_mode_generic_set(), arg_handle_debug_mode_io(), arg_handle_debug_mode_memory_set(), arg_handle_debug_mode_set(), arg_handle_debug_value_set(), arg_handle_enable_event_simulate(), arg_handle_engine_set(), arg_handle_env_system_set(), arg_handle_extension_set(), arg_handle_factory_startup_set(), arg_handle_frame_end_set(), arg_handle_frame_skip_set(), arg_handle_frame_start_set(), arg_handle_image_type_set(), arg_handle_load_last_file(), arg_handle_log_file_set(), arg_handle_log_level_set(), arg_handle_log_set(), arg_handle_log_show_backtrace_set(), arg_handle_log_show_basename_set(), arg_handle_log_show_timestamp_set(), arg_handle_native_pixels_set(), arg_handle_no_window_focus(), arg_handle_output_set(), arg_handle_playback_mode(), arg_handle_print_help(), arg_handle_print_version(), arg_handle_python_console_run(), arg_handle_python_exit_code_set(), arg_handle_python_expr_run(), arg_handle_python_file_run(), arg_handle_python_set(), arg_handle_python_text_run(), arg_handle_python_use_system_env_set(), arg_handle_register_extension(), arg_handle_render_animation(), arg_handle_render_frame(), arg_handle_scene_set(), arg_handle_start_with_console(), arg_handle_threads_set(), arg_handle_verbosity_set(), arg_handle_window_geometry(), arg_handle_window_maximized(), arg_handle_with_borders(), arg_handle_without_borders(), ARG_PASS_ENVIRONMENT, ARG_PASS_FINAL, ARG_PASS_SETTINGS, ARG_PASS_SETTINGS_FORCE, ARG_PASS_SETTINGS_GUI, BLI_args_add(), BLI_args_add_case(), BLI_args_pass_set(), C, CB, CB_EX, depsgraph, G_DEBUG_DEPSGRAPH, G_DEBUG_DEPSGRAPH_BUILD, G_DEBUG_DEPSGRAPH_EVAL, G_DEBUG_DEPSGRAPH_NO_THREADS, G_DEBUG_DEPSGRAPH_PRETTY, G_DEBUG_DEPSGRAPH_TAG, G_DEBUG_DEPSGRAPH_TIME, G_DEBUG_DEPSGRAPH_UUID, G_DEBUG_EVENTS, G_DEBUG_FFMPEG, G_DEBUG_FREESTYLE, G_DEBUG_GHOST, G_DEBUG_GPU_FORCE_WORKAROUNDS, G_DEBUG_HANDLERS, G_DEBUG_JOBS, G_DEBUG_PYTHON, G_DEBUG_WINTAB, G_DEBUG_WM, G_DEBUG_XR, G_DEBUG_XR_TIME, and NULL.

Referenced by main().

◆ main_args_setup_post()

void main_args_setup_post ( bContext C,
bArgs ba 
)

Needs to be added separately.

Definition at line 2270 of file creator_args.c.

References arg_handle_load_file(), ARG_PASS_FINAL, BLI_args_parse(), and C.

Referenced by main().

◆ main_signal_setup()

void main_signal_setup ( void  )

◆ main_signal_setup_background()

void main_signal_setup_background ( void  )

Definition at line 242 of file creator_signals.c.

References BLI_assert, G, and sig_handle_blender_esc().

Referenced by main().

◆ main_signal_setup_fpe()

void main_signal_setup_fpe ( void  )

Definition at line 254 of file creator_signals.c.

References NULL.

Referenced by arg_handle_debug_fpe_set().

Variable Documentation

◆ app_state

struct ApplicationState app_state
extern

◆ build_branch

char build_branch[]
extern

Definition at line 35 of file buildinfo.c.

◆ build_cflags

char build_cflags[]
extern

Definition at line 46 of file buildinfo.c.

◆ build_commit_date

char build_commit_date[16]
extern

Definition at line 33 of file buildinfo.c.

◆ build_commit_time

char build_commit_time[16]
extern

Definition at line 34 of file buildinfo.c.

◆ build_commit_timestamp

unsigned long build_commit_timestamp
extern

Definition at line 32 of file buildinfo.c.

◆ build_cxxflags

char build_cxxflags[]
extern

Definition at line 47 of file buildinfo.c.

◆ build_date

char build_date[]
extern

Definition at line 29 of file buildinfo.c.

◆ build_hash

char build_hash[]
extern

Definition at line 31 of file buildinfo.c.

◆ build_linkflags

char build_linkflags[]
extern

Definition at line 48 of file buildinfo.c.

◆ build_platform

char build_platform[]
extern

Definition at line 37 of file buildinfo.c.

◆ build_system

char build_system[]
extern

Definition at line 49 of file buildinfo.c.

◆ build_time

char build_time[]
extern

Definition at line 30 of file buildinfo.c.

◆ build_type

char build_type[]
extern

Definition at line 38 of file buildinfo.c.