Blender  V3.3
Macros
creator_args.c File Reference
#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include "MEM_guardedalloc.h"
#include "CLG_log.h"
#include "BLI_args.h"
#include "BLI_fileops.h"
#include "BLI_listbase.h"
#include "BLI_mempool.h"
#include "BLI_path_util.h"
#include "BLI_string.h"
#include "BLI_string_utf8.h"
#include "BLI_system.h"
#include "BLI_threads.h"
#include "BLI_utildefines.h"
#include "BLO_readfile.h"
#include "BKE_blender_version.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_image_format.h"
#include "BKE_lib_id.h"
#include "BKE_main.h"
#include "BKE_report.h"
#include "BKE_scene.h"
#include "BKE_sound.h"
#include "RE_engine.h"
#include "RE_pipeline.h"
#include "ED_datafiles.h"
#include "WM_api.h"
#include "DEG_depsgraph.h"
#include "DEG_depsgraph_build.h"
#include "DEG_depsgraph_debug.h"
#include "WM_types.h"
#include "creator_intern.h"

Go to the source code of this file.

Macros

#define CB(a)   a##_doc, a
 
#define CB_EX(a, b)   a##_doc_##b, a
 

Functions

Utility String Parsing
static bool parse_int_relative (const char *str, const char *str_end_test, int pos, int neg, int *r_value, const char **r_err_msg)
 
static const char * parse_int_range_sep_search (const char *str, const char *str_end_test)
 
static bool parse_int_range_relative (const char *str, const char *str_end_range, const char *str_end_test, int pos, int neg, int r_value_range[2], const char **r_err_msg)
 
static bool parse_int_relative_clamp (const char *str, const char *str_end_test, int pos, int neg, int min, int max, int *r_value, const char **r_err_msg)
 
static bool parse_int_range_relative_clamp (const char *str, const char *str_end_range, const char *str_end_test, int pos, int neg, int min, int max, int r_value_range[2], const char **r_err_msg)
 
static bool parse_int_strict_range (const char *str, const char *str_end_test, const int min, const int max, int *r_value, const char **r_err_msg)
 
static bool parse_int (const char *str, const char *str_end_test, int *r_value, const char **r_err_msg)
 
static bool parse_int_clamp (const char *str, const char *str_end_test, int min, int max, int *r_value, const char **r_err_msg)
 
static int(* parse_int_range_relative_clamp_n (const char *str, int pos, int neg, int min, int max, int *r_value_len, const char **r_err_msg))[2]
 

Handle Argument Callbacks

Note
Doc strings here are used in differently:
#define PY_ENABLE_AUTO   ", (default)"
 
#define PY_DISABLE_AUTO   ""
 
static const char arg_handle_print_version_doc []
 
static const char arg_handle_print_help_doc []
 
static const char arg_handle_print_help_doc_win32 []
 
static const char arg_handle_arguments_end_doc []
 
static const char arg_handle_python_set_doc_enable []
 
static const char arg_handle_python_set_doc_disable []
 
static const char arg_handle_crash_handler_disable_doc []
 
static const char arg_handle_abort_handler_disable_doc []
 
static const char arg_handle_debug_exit_on_error_doc []
 
static const char arg_handle_background_mode_set_doc []
 
static const char arg_handle_log_level_set_doc []
 
static const char arg_handle_log_show_basename_set_doc []
 
static const char arg_handle_log_show_backtrace_set_doc []
 
static const char arg_handle_log_show_timestamp_set_doc []
 
static const char arg_handle_log_file_set_doc []
 
static const char arg_handle_log_set_doc []
 
static const char arg_handle_debug_mode_set_doc []
 
static const char arg_handle_debug_mode_generic_set_doc_python []
 
static const char arg_handle_debug_mode_generic_set_doc_events []
 
static const char arg_handle_debug_mode_generic_set_doc_handlers []
 
static const char arg_handle_debug_mode_generic_set_doc_wm []
 
static const char arg_handle_debug_mode_generic_set_doc_ghost []
 
static const char arg_handle_debug_mode_generic_set_doc_wintab []
 
static const char arg_handle_debug_mode_generic_set_doc_jobs []
 
static const char arg_handle_debug_mode_generic_set_doc_depsgraph []
 
static const char arg_handle_debug_mode_generic_set_doc_depsgraph_build []
 
static const char arg_handle_debug_mode_generic_set_doc_depsgraph_tag []
 
static const char arg_handle_debug_mode_generic_set_doc_depsgraph_time []
 
static const char arg_handle_debug_mode_generic_set_doc_depsgraph_eval []
 
static const char arg_handle_debug_mode_generic_set_doc_depsgraph_no_threads []
 
static const char arg_handle_debug_mode_generic_set_doc_depsgraph_pretty []
 
static const char arg_handle_debug_mode_generic_set_doc_depsgraph_uuid []
 
static const char arg_handle_debug_mode_generic_set_doc_gpu_force_workarounds []
 
static const char arg_handle_debug_mode_io_doc []
 
static const char arg_handle_debug_mode_all_doc []
 
static const char arg_handle_debug_mode_memory_set_doc []
 
static const char arg_handle_debug_value_set_doc []
 
static const char arg_handle_debug_gpu_set_doc []
 
static const char arg_handle_debug_fpe_set_doc []
 
static const char arg_handle_app_template_doc []
 
static const char arg_handle_factory_startup_set_doc []
 
static const char arg_handle_enable_event_simulate_doc []
 
static const char arg_handle_env_system_set_doc_datafiles []
 
static const char arg_handle_env_system_set_doc_scripts []
 
static const char arg_handle_env_system_set_doc_python []
 
static const char arg_handle_playback_mode_doc []
 
static const char arg_handle_window_geometry_doc []
 
static const char arg_handle_native_pixels_set_doc []
 
static const char arg_handle_with_borders_doc []
 
static const char arg_handle_without_borders_doc []
 
static const char arg_handle_window_maximized_doc []
 
static const char arg_handle_no_window_focus_doc []
 
static const char arg_handle_start_with_console_doc []
 
static const char arg_handle_register_extension_doc []
 
static const char arg_handle_register_extension_doc_silent []
 
static const char arg_handle_audio_disable_doc []
 
static const char arg_handle_audio_set_doc []
 
static const char arg_handle_output_set_doc []
 
static const char arg_handle_engine_set_doc []
 
static const char arg_handle_image_type_set_doc []
 
static const char arg_handle_threads_set_doc []
 
static const char arg_handle_verbosity_set_doc []
 
static const char arg_handle_extension_set_doc []
 
static const char arg_handle_render_frame_doc []
 
static const char arg_handle_render_animation_doc []
 
static const char arg_handle_scene_set_doc []
 
static const char arg_handle_frame_start_set_doc []
 
static const char arg_handle_frame_end_set_doc []
 
static const char arg_handle_frame_skip_set_doc []
 
static const char arg_handle_python_file_run_doc []
 
static const char arg_handle_python_text_run_doc []
 
static const char arg_handle_python_expr_run_doc []
 
static const char arg_handle_python_console_run_doc []
 
static const char arg_handle_python_exit_code_set_doc []
 
static const char arg_handle_python_use_system_env_set_doc []
 
static const char arg_handle_addons_set_doc []
 
static const char arg_handle_load_last_file_doc []
 
static void print_version_full (void)
 
static void print_version_short (void)
 
static int arg_handle_print_version (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_print_help (int UNUSED(argc), const char **UNUSED(argv), void *data)
 
static int arg_handle_arguments_end (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_python_set (int UNUSED(argc), const char **UNUSED(argv), void *data)
 
static int arg_handle_crash_handler_disable (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_abort_handler_disable (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static void clog_abort_on_error_callback (void *fp)
 
static int arg_handle_debug_exit_on_error (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_background_mode_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_log_level_set (int argc, const char **argv, void *UNUSED(data))
 
static int arg_handle_log_show_basename_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_log_show_backtrace_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_log_show_timestamp_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_log_file_set (int argc, const char **argv, void *UNUSED(data))
 
static int arg_handle_log_set (int argc, const char **argv, void *UNUSED(data))
 
static int arg_handle_debug_mode_set (int UNUSED(argc), const char **UNUSED(argv), void *data)
 
static int arg_handle_debug_mode_generic_set (int UNUSED(argc), const char **UNUSED(argv), void *data)
 
static int arg_handle_debug_mode_io (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_debug_mode_all (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_debug_mode_memory_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_debug_value_set (int argc, const char **argv, void *UNUSED(data))
 
static int arg_handle_debug_gpu_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_debug_fpe_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_app_template (int argc, const char **argv, void *UNUSED(data))
 
static int arg_handle_factory_startup_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_enable_event_simulate (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_env_system_set (int argc, const char **argv, void *UNUSED(data))
 
static int arg_handle_playback_mode (int argc, const char **argv, void *UNUSED(data))
 
static int arg_handle_window_geometry (int argc, const char **argv, void *UNUSED(data))
 
static int arg_handle_native_pixels_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_with_borders (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_without_borders (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_window_maximized (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_no_window_focus (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_start_with_console (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_register_extension (int UNUSED(argc), const char **UNUSED(argv), void *data)
 
static int arg_handle_audio_disable (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_audio_set (int argc, const char **argv, void *UNUSED(data))
 
static int arg_handle_output_set (int argc, const char **argv, void *data)
 
static int arg_handle_engine_set (int argc, const char **argv, void *data)
 
static int arg_handle_image_type_set (int argc, const char **argv, void *data)
 
static int arg_handle_threads_set (int argc, const char **argv, void *UNUSED(data))
 
static int arg_handle_verbosity_set (int argc, const char **argv, void *UNUSED(data))
 
static int arg_handle_extension_set (int argc, const char **argv, void *data)
 
static int arg_handle_render_frame (int argc, const char **argv, void *data)
 
static int arg_handle_render_animation (int UNUSED(argc), const char **UNUSED(argv), void *data)
 
static int arg_handle_scene_set (int argc, const char **argv, void *data)
 
static int arg_handle_frame_start_set (int argc, const char **argv, void *data)
 
static int arg_handle_frame_end_set (int argc, const char **argv, void *data)
 
static int arg_handle_frame_skip_set (int argc, const char **argv, void *data)
 
static int arg_handle_python_file_run (int argc, const char **argv, void *data)
 
static int arg_handle_python_text_run (int argc, const char **argv, void *data)
 
static int arg_handle_python_expr_run (int argc, const char **argv, void *data)
 
static int arg_handle_python_console_run (int UNUSED(argc), const char **argv, void *data)
 
static int arg_handle_python_exit_code_set (int argc, const char **argv, void *UNUSED(data))
 
static int arg_handle_python_use_system_env_set (int UNUSED(argc), const char **UNUSED(argv), void *UNUSED(data))
 
static int arg_handle_addons_set (int argc, const char **argv, void *data)
 
static int arg_handle_load_file (int UNUSED(argc), const char **argv, void *data)
 
static int arg_handle_load_last_file (int UNUSED(argc), const char **UNUSED(argv), void *data)
 
void main_args_setup (bContext *C, bArgs *ba)
 
void main_args_setup_post (bContext *C, bArgs *ba)
 

Macro Definition Documentation

◆ CB

#define CB (   a)    a##_doc, a

◆ CB_EX

#define CB_EX (   a,
 
)    a##_doc_##b, a

◆ PY_DISABLE_AUTO

#define PY_DISABLE_AUTO   ""

Definition at line 692 of file creator_args.c.

◆ PY_ENABLE_AUTO

#define PY_ENABLE_AUTO   ", (default)"

Definition at line 691 of file creator_args.c.

Function Documentation

◆ arg_handle_abort_handler_disable()

static int arg_handle_abort_handler_disable ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 733 of file creator_args.c.

References app_state, ApplicationState::signal, and ApplicationState::use_abort_handler.

Referenced by main_args_setup().

◆ arg_handle_addons_set()

static int arg_handle_addons_set ( int  argc,
const char **  argv,
void data 
)
static

Definition at line 1928 of file creator_args.c.

References BLI_assert, BLI_snprintf(), BPY_run_string_exec(), C, data, free(), NULL, str, and UNUSED_VARS.

Referenced by main_args_setup().

◆ arg_handle_app_template()

static int arg_handle_app_template ( int  argc,
const char **  argv,
void UNUSEDdata 
)
static

Definition at line 1118 of file creator_args.c.

References app_template, STREQ, and WM_init_state_app_template_set().

Referenced by main_args_setup().

◆ arg_handle_arguments_end()

static int arg_handle_arguments_end ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 682 of file creator_args.c.

Referenced by main_args_setup().

◆ arg_handle_audio_disable()

static int arg_handle_audio_disable ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1337 of file creator_args.c.

References BKE_sound_force_device().

Referenced by main_args_setup().

◆ arg_handle_audio_set()

static int arg_handle_audio_set ( int  argc,
const char **  argv,
void UNUSEDdata 
)
static

Definition at line 1350 of file creator_args.c.

References BKE_sound_force_device().

Referenced by main_args_setup().

◆ arg_handle_background_mode_set()

static int arg_handle_background_mode_set ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 763 of file creator_args.c.

References G, and print_version_short().

Referenced by main_args_setup().

◆ arg_handle_crash_handler_disable()

static int arg_handle_crash_handler_disable ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 722 of file creator_args.c.

References app_state, ApplicationState::signal, and ApplicationState::use_crash_handler.

Referenced by main_args_setup().

◆ arg_handle_debug_exit_on_error()

static int arg_handle_debug_exit_on_error ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

◆ arg_handle_debug_fpe_set()

static int arg_handle_debug_fpe_set ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1107 of file creator_args.c.

References main_signal_setup_fpe().

Referenced by main_args_setup().

◆ arg_handle_debug_gpu_set()

static int arg_handle_debug_gpu_set ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1093 of file creator_args.c.

References CLG_type_filter_include(), G, and G_DEBUG_GPU.

Referenced by main_args_setup().

◆ arg_handle_debug_mode_all()

static int arg_handle_debug_mode_all ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1016 of file creator_args.c.

References CCL_start_debug_logging(), G, G_DEBUG_ALL, and libmv_startDebugLogging().

Referenced by main_args_setup().

◆ arg_handle_debug_mode_generic_set()

static int arg_handle_debug_mode_generic_set ( int   UNUSEDargc,
const char **  UNUSEDargv,
void data 
)
static

Definition at line 994 of file creator_args.c.

References data, G, and POINTER_AS_INT.

Referenced by main_args_setup().

◆ arg_handle_debug_mode_io()

static int arg_handle_debug_mode_io ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1005 of file creator_args.c.

References G, and G_DEBUG_IO.

Referenced by main_args_setup().

◆ arg_handle_debug_mode_memory_set()

static int arg_handle_debug_mode_memory_set ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1060 of file creator_args.c.

References MEM_set_memory_debug.

Referenced by main_args_setup().

◆ arg_handle_debug_mode_set()

static int arg_handle_debug_mode_set ( int   UNUSEDargc,
const char **  UNUSEDargv,
void data 
)
static

◆ arg_handle_debug_value_set()

static int arg_handle_debug_value_set ( int  argc,
const char **  argv,
void UNUSEDdata 
)
static

Definition at line 1071 of file creator_args.c.

References G, NULL, and parse_int().

Referenced by main_args_setup().

◆ arg_handle_enable_event_simulate()

static int arg_handle_enable_event_simulate ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1144 of file creator_args.c.

References G, and G_FLAG_EVENT_SIMULATE.

Referenced by main_args_setup().

◆ arg_handle_engine_set()

static int arg_handle_engine_set ( int  argc,
const char **  argv,
void data 
)
static

◆ arg_handle_env_system_set()

static int arg_handle_env_system_set ( int  argc,
const char **  argv,
void UNUSEDdata 
)
static

Definition at line 1162 of file creator_args.c.

References BLI_setenv().

Referenced by main_args_setup().

◆ arg_handle_extension_set()

static int arg_handle_extension_set ( int  argc,
const char **  argv,
void data 
)
static

◆ arg_handle_factory_startup_set()

static int arg_handle_factory_startup_set ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1132 of file creator_args.c.

References G, and G_FLAG_USERPREF_NO_SAVE_ON_EXIT.

Referenced by main_args_setup().

◆ arg_handle_frame_end_set()

static int arg_handle_frame_end_set ( int  argc,
const char **  argv,
void data 
)
static

◆ arg_handle_frame_skip_set()

static int arg_handle_frame_skip_set ( int  argc,
const char **  argv,
void data 
)
static

◆ arg_handle_frame_start_set()

static int arg_handle_frame_start_set ( int  argc,
const char **  argv,
void data 
)
static

◆ arg_handle_image_type_set()

static int arg_handle_image_type_set ( int  argc,
const char **  argv,
void data 
)
static

◆ arg_handle_load_file()

static int arg_handle_load_file ( int   UNUSEDargc,
const char **  argv,
void data 
)
static

◆ arg_handle_load_last_file()

static int arg_handle_load_last_file ( int   UNUSEDargc,
const char **  UNUSEDargv,
void data 
)
static

◆ arg_handle_log_file_set()

static int arg_handle_log_file_set ( int  argc,
const char **  argv,
void UNUSEDdata 
)
static

Definition at line 834 of file creator_args.c.

References BLI_fopen(), CLG_output_set(), G, NULL, and UNLIKELY.

Referenced by main_args_setup().

◆ arg_handle_log_level_set()

static int arg_handle_log_level_set ( int  argc,
const char **  argv,
void UNUSEDdata 
)
static

Definition at line 776 of file creator_args.c.

References CLG_level_set(), G, NULL, and parse_int_clamp().

Referenced by main_args_setup().

◆ arg_handle_log_set()

static int arg_handle_log_set ( int  argc,
const char **  argv,
void UNUSEDdata 
)
static

Definition at line 867 of file creator_args.c.

References CLG_type_filter_exclude(), and CLG_type_filter_include().

Referenced by main_args_setup().

◆ arg_handle_log_show_backtrace_set()

static int arg_handle_log_show_backtrace_set ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 810 of file creator_args.c.

References BLI_system_backtrace(), CLG_backtrace_fn_set(), and void.

Referenced by main_args_setup().

◆ arg_handle_log_show_basename_set()

static int arg_handle_log_show_basename_set ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 799 of file creator_args.c.

References CLG_output_use_basename_set().

Referenced by main_args_setup().

◆ arg_handle_log_show_timestamp_set()

static int arg_handle_log_show_timestamp_set ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 823 of file creator_args.c.

References CLG_output_use_timestamp_set().

Referenced by main_args_setup().

◆ arg_handle_native_pixels_set()

static int arg_handle_native_pixels_set ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1253 of file creator_args.c.

References WM_init_native_pixels().

Referenced by main_args_setup().

◆ arg_handle_no_window_focus()

static int arg_handle_no_window_focus ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1295 of file creator_args.c.

References WM_init_window_focus_set().

Referenced by main_args_setup().

◆ arg_handle_output_set()

static int arg_handle_output_set ( int  argc,
const char **  argv,
void data 
)
static

◆ arg_handle_playback_mode()

static int arg_handle_playback_mode ( int  argc,
const char **  argv,
void UNUSEDdata 
)
static

Definition at line 1206 of file creator_args.c.

References G, IMB_ffmpeg_init(), and WM_main_playanim().

Referenced by main_args_setup().

◆ arg_handle_print_help()

static int arg_handle_print_help ( int   UNUSEDargc,
const char **  UNUSEDargv,
void data 
)
static

◆ arg_handle_print_version()

static int arg_handle_print_version ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 473 of file creator_args.c.

References print_version_full().

Referenced by main_args_setup().

◆ arg_handle_python_console_run()

static int arg_handle_python_console_run ( int   UNUSEDargc,
const char **  argv,
void data 
)
static

Definition at line 1868 of file creator_args.c.

References BPY_run_string_eval(), C, data, NULL, and UNUSED_VARS.

Referenced by main_args_setup().

◆ arg_handle_python_exit_code_set()

static int arg_handle_python_exit_code_set ( int  argc,
const char **  argv,
void UNUSEDdata 
)
static

◆ arg_handle_python_expr_run()

static int arg_handle_python_expr_run ( int  argc,
const char **  argv,
void data 
)
static

◆ arg_handle_python_file_run()

static int arg_handle_python_file_run ( int  argc,
const char **  argv,
void data 
)
static

◆ arg_handle_python_set()

static int arg_handle_python_set ( int   UNUSEDargc,
const char **  UNUSEDargv,
void data 
)
static

Definition at line 707 of file creator_args.c.

References data, G, G_FLAG_SCRIPT_AUTOEXEC, and G_FLAG_SCRIPT_OVERRIDE_PREF.

Referenced by main_args_setup().

◆ arg_handle_python_text_run()

static int arg_handle_python_text_run ( int  argc,
const char **  argv,
void data 
)
static

◆ arg_handle_python_use_system_env_set()

static int arg_handle_python_use_system_env_set ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1915 of file creator_args.c.

References BPY_python_use_system_env().

Referenced by main_args_setup().

◆ arg_handle_register_extension()

static int arg_handle_register_extension ( int   UNUSEDargc,
const char **  UNUSEDargv,
void data 
)
static

Definition at line 1320 of file creator_args.c.

References BLI_windows_register_blend_extension(), data, G, and void.

Referenced by main_args_setup().

◆ arg_handle_render_animation()

static int arg_handle_render_animation ( int   UNUSEDargc,
const char **  UNUSEDargv,
void data 
)
static

◆ arg_handle_render_frame()

static int arg_handle_render_frame ( int  argc,
const char **  argv,
void data 
)
static

◆ arg_handle_scene_set()

static int arg_handle_scene_set ( int  argc,
const char **  argv,
void data 
)
static

◆ arg_handle_start_with_console()

static int arg_handle_start_with_console ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1306 of file creator_args.c.

References WM_init_state_start_with_console_set().

Referenced by main_args_setup().

◆ arg_handle_threads_set()

static int arg_handle_threads_set ( int  argc,
const char **  argv,
void UNUSEDdata 
)
static

◆ arg_handle_verbosity_set()

static int arg_handle_verbosity_set ( int  argc,
const char **  argv,
void UNUSEDdata 
)
static

Definition at line 1504 of file creator_args.c.

References CCL_logging_verbosity_set(), libmv_setLoggingVerbosity(), NULL, parse_int(), and void.

Referenced by main_args_setup().

◆ arg_handle_window_geometry()

static int arg_handle_window_geometry ( int  argc,
const char **  argv,
void UNUSEDdata 
)
static

Definition at line 1227 of file creator_args.c.

References NULL, params, parse_int(), UNPACK4, and WM_init_state_size_set().

Referenced by main_args_setup().

◆ arg_handle_window_maximized()

static int arg_handle_window_maximized ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1284 of file creator_args.c.

References WM_init_state_maximized_set().

Referenced by main_args_setup().

◆ arg_handle_with_borders()

static int arg_handle_with_borders ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1264 of file creator_args.c.

References WM_init_state_normal_set().

Referenced by main_args_setup().

◆ arg_handle_without_borders()

static int arg_handle_without_borders ( int   UNUSEDargc,
const char **  UNUSEDargv,
void UNUSEDdata 
)
static

Definition at line 1273 of file creator_args.c.

References WM_init_state_fullscreen_set().

Referenced by main_args_setup().

◆ clog_abort_on_error_callback()

static void clog_abort_on_error_callback ( void fp)
static

Definition at line 741 of file creator_args.c.

References BLI_system_backtrace().

Referenced by arg_handle_debug_exit_on_error().

◆ main_args_setup()

void main_args_setup ( bContext C,
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().

◆ parse_int()

static bool parse_int ( const char *  str,
const char *  str_end_test,
int *  r_value,
const char **  r_err_msg 
)
static

◆ parse_int_clamp()

static bool parse_int_clamp ( const char *  str,
const char *  str_end_test,
int  min,
int  max,
int *  r_value,
const char **  r_err_msg 
)
static

Definition at line 231 of file creator_args.c.

References CLAMP, max, min, parse_int(), and str.

Referenced by arg_handle_frame_skip_set(), and arg_handle_log_level_set().

◆ parse_int_range_relative()

static bool parse_int_range_relative ( const char *  str,
const char *  str_end_range,
const char *  str_end_test,
int  pos,
int  neg,
int  r_value_range[2],
const char **  r_err_msg 
)
static

Parse a number as a range, eg: 1..4.

The str_end_range argument is a result of parse_int_range_sep_search.

Definition at line 142 of file creator_args.c.

References parse_int_relative(), pos, and str.

Referenced by parse_int_range_relative_clamp().

◆ parse_int_range_relative_clamp()

static bool parse_int_range_relative_clamp ( const char *  str,
const char *  str_end_range,
const char *  str_end_test,
int  pos,
int  neg,
int  min,
int  max,
int  r_value_range[2],
const char **  r_err_msg 
)
static

Definition at line 174 of file creator_args.c.

References CLAMP, max, min, parse_int_range_relative(), pos, and str.

Referenced by parse_int_range_relative_clamp_n().

◆ parse_int_range_relative_clamp_n()

static int(* parse_int_range_relative_clamp_n ( const char *  str,
int  pos,
int  neg,
int  min,
int  max,
int *  r_value_len,
const char **  r_err_msg 
) )[2]
static

Version of parse_int_relative_clamp & parse_int_range_relative_clamp that parses a comma separated list of numbers.

Note
single values are evaluated as a range with matching start/end.

Definition at line 301 of file creator_args.c.

References ELEM, len, max, MEM_freeN, MEM_mallocN, min, NULL, parse_int_range_relative_clamp(), parse_int_range_sep_search(), parse_int_relative_clamp(), pos, and str.

Referenced by arg_handle_render_frame().

◆ parse_int_range_sep_search()

static const char* parse_int_range_sep_search ( const char *  str,
const char *  str_end_test 
)
static

Definition at line 119 of file creator_args.c.

References NULL, and str.

Referenced by parse_int_range_relative_clamp_n().

◆ parse_int_relative()

static bool parse_int_relative ( const char *  str,
const char *  str_end_test,
int  pos,
int  neg,
int *  r_value,
const char **  r_err_msg 
)
static

Definition at line 81 of file creator_args.c.

References NULL, pos, and str.

Referenced by parse_int_range_relative(), and parse_int_relative_clamp().

◆ parse_int_relative_clamp()

static bool parse_int_relative_clamp ( const char *  str,
const char *  str_end_test,
int  pos,
int  neg,
int  min,
int  max,
int *  r_value,
const char **  r_err_msg 
)
static

◆ parse_int_strict_range()

static bool parse_int_strict_range ( const char *  str,
const char *  str_end_test,
const int  min,
const int  max,
int *  r_value,
const char **  r_err_msg 
)
static

No clamping, fails with any number outside the range.

Definition at line 196 of file creator_args.c.

References max, min, NULL, and str.

Referenced by arg_handle_python_exit_code_set(), arg_handle_threads_set(), and parse_int().

◆ print_version_full()

static void print_version_full ( void  )
static

◆ print_version_short()

static void print_version_short ( void  )
static

Variable Documentation

◆ arg_handle_abort_handler_disable_doc

const char arg_handle_abort_handler_disable_doc[]
static
Initial value:
=
"\n\t"
"Disable the abort handler."

Definition at line 730 of file creator_args.c.

◆ arg_handle_addons_set_doc

const char arg_handle_addons_set_doc[]
static
Initial value:
=
"<addon(s)>\n"
"\tComma separated list (no spaces) of add-ons to enable in addition to any default add-ons."

Definition at line 1925 of file creator_args.c.

◆ arg_handle_app_template_doc

const char arg_handle_app_template_doc[]
static
Initial value:
=
"<template>\n"
"\tSet the application template (matching the directory name), use 'default' for none."

Definition at line 1115 of file creator_args.c.

◆ arg_handle_arguments_end_doc

const char arg_handle_arguments_end_doc[]
static
Initial value:
=
"\n\t"
"End option processing, following arguments passed unchanged. Access via Python's "
"'sys.argv'."

Definition at line 678 of file creator_args.c.

◆ arg_handle_audio_disable_doc

const char arg_handle_audio_disable_doc[]
static
Initial value:
=
"\n\t"
"Force sound system to None."

Definition at line 1334 of file creator_args.c.

◆ arg_handle_audio_set_doc

const char arg_handle_audio_set_doc[]
static
Initial value:
=
"\n\t"
"Force sound system to a specific device."
"\n\t"
"'None' 'SDL' 'OpenAL' 'CoreAudio' 'JACK' 'PulseAudio' 'WASAPI'."

Definition at line 1345 of file creator_args.c.

◆ arg_handle_background_mode_set_doc

const char arg_handle_background_mode_set_doc[]
static
Initial value:
=
"\n\t"
"Run in background (often used for UI-less rendering)."

Definition at line 760 of file creator_args.c.

◆ arg_handle_crash_handler_disable_doc

const char arg_handle_crash_handler_disable_doc[]
static
Initial value:
=
"\n\t"
"Disable the crash handler."

Definition at line 719 of file creator_args.c.

◆ arg_handle_debug_exit_on_error_doc

const char arg_handle_debug_exit_on_error_doc[]
static
Initial value:
=
"\n\t"
"Immediately exit when internal errors are detected."

Definition at line 748 of file creator_args.c.

◆ arg_handle_debug_fpe_set_doc

const char arg_handle_debug_fpe_set_doc[]
static
Initial value:
=
"\n\t"
"Enable floating-point exceptions."

Definition at line 1104 of file creator_args.c.

◆ arg_handle_debug_gpu_set_doc

const char arg_handle_debug_gpu_set_doc[]
static
Initial value:
=
"\n"
"\tEnable GPU debug context and information for OpenGL 4.3+."

Definition at line 1090 of file creator_args.c.

◆ arg_handle_debug_mode_all_doc

const char arg_handle_debug_mode_all_doc[]
static
Initial value:
=
"\n\t"
"Enable all debug messages."

Definition at line 1013 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_depsgraph

const char arg_handle_debug_mode_generic_set_doc_depsgraph[]
static
Initial value:
=
"\n\t"
"Enable all debug messages from dependency graph."

Definition at line 966 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_depsgraph_build

const char arg_handle_debug_mode_generic_set_doc_depsgraph_build[]
static
Initial value:
=
"\n\t"
"Enable debug messages from dependency graph related on graph construction."

Definition at line 969 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_depsgraph_eval

const char arg_handle_debug_mode_generic_set_doc_depsgraph_eval[]
static
Initial value:
=
"\n\t"
"Enable debug messages from dependency graph related on evaluation."

Definition at line 978 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_depsgraph_no_threads

const char arg_handle_debug_mode_generic_set_doc_depsgraph_no_threads[]
static
Initial value:
=
"\n\t"
"Switch dependency graph to a single threaded evaluation."

Definition at line 981 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_depsgraph_pretty

const char arg_handle_debug_mode_generic_set_doc_depsgraph_pretty[]
static
Initial value:
=
"\n\t"
"Enable colors for dependency graph debug messages."

Definition at line 984 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_depsgraph_tag

const char arg_handle_debug_mode_generic_set_doc_depsgraph_tag[]
static
Initial value:
=
"\n\t"
"Enable debug messages from dependency graph related on tagging."

Definition at line 972 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_depsgraph_time

const char arg_handle_debug_mode_generic_set_doc_depsgraph_time[]
static
Initial value:
=
"\n\t"
"Enable debug messages from dependency graph related on timing."

Definition at line 975 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_depsgraph_uuid

const char arg_handle_debug_mode_generic_set_doc_depsgraph_uuid[]
static
Initial value:
=
"\n\t"
"Verify validness of session-wide identifiers assigned to ID datablocks."

Definition at line 987 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_events

const char arg_handle_debug_mode_generic_set_doc_events[]
static
Initial value:
=
"\n\t"
"Enable debug messages for the event system."

Definition at line 937 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_ghost

const char arg_handle_debug_mode_generic_set_doc_ghost[]
static
Initial value:
=
"\n\t"
"Enable debug messages for Ghost (Linux only)."

Definition at line 947 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_gpu_force_workarounds

const char arg_handle_debug_mode_generic_set_doc_gpu_force_workarounds[]
static
Initial value:
=
"\n\t"
"Enable workarounds for typical GPU issues and disable all GPU extensions."

Definition at line 990 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_handlers

const char arg_handle_debug_mode_generic_set_doc_handlers[]
static
Initial value:
=
"\n\t"
"Enable debug messages for event handling."

Definition at line 940 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_jobs

const char arg_handle_debug_mode_generic_set_doc_jobs[]
static
Initial value:
=
"\n\t"
"Enable time profiling for background jobs."

Definition at line 963 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_python

const char arg_handle_debug_mode_generic_set_doc_python[]
static
Initial value:
=
"\n\t"
"Enable debug messages for Python."

Definition at line 934 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_wintab

const char arg_handle_debug_mode_generic_set_doc_wintab[]
static
Initial value:
=
"\n\t"
"Enable debug messages for Wintab."

Definition at line 950 of file creator_args.c.

◆ arg_handle_debug_mode_generic_set_doc_wm

const char arg_handle_debug_mode_generic_set_doc_wm[]
static
Initial value:
=
"\n\t"
"Enable debug messages for the window manager, shows all operators in search, shows "
"keymap errors."

Definition at line 943 of file creator_args.c.

◆ arg_handle_debug_mode_io_doc

const char arg_handle_debug_mode_io_doc[]
static
Initial value:
=
"\n\t"
"Enable debug messages for I/O (Collada, ...)."

Definition at line 1002 of file creator_args.c.

◆ arg_handle_debug_mode_memory_set_doc

const char arg_handle_debug_mode_memory_set_doc[]
static
Initial value:
=
"\n\t"
"Enable fully guarded memory allocation and debugging."

Definition at line 1057 of file creator_args.c.

◆ arg_handle_debug_mode_set_doc

const char arg_handle_debug_mode_set_doc[]
static
Initial value:
=
"\n"
"\tTurn debugging on.\n"
"\n"
"\t* Enables memory error detection\n"
"\t* Disables mouse grab (to interact with a debugger in some cases)\n"
"\t* Keeps Python's 'sys.stdin' rather than setting it to None"

Definition at line 900 of file creator_args.c.

◆ arg_handle_debug_value_set_doc

const char arg_handle_debug_value_set_doc[]
static
Initial value:
=
"<value>\n"
"\tSet debug value of <value> on startup."

Definition at line 1068 of file creator_args.c.

◆ arg_handle_enable_event_simulate_doc

const char arg_handle_enable_event_simulate_doc[]
static
Initial value:
=
"\n\t"
"Enable event simulation testing feature 'bpy.types.Window.event_simulate'."

Definition at line 1141 of file creator_args.c.

◆ arg_handle_engine_set_doc

const char arg_handle_engine_set_doc[]
static
Initial value:
=
"<engine>\n"
"\tSpecify the render engine.\n"
"\tUse '-E help' to list available engines."

Definition at line 1394 of file creator_args.c.

◆ arg_handle_env_system_set_doc_datafiles

const char arg_handle_env_system_set_doc_datafiles[]
static
Initial value:
=
"\n\t"
"Set the " STRINGIFY_ARG(BLENDER_SYSTEM_DATAFILES) " environment variable."
@ BLENDER_SYSTEM_DATAFILES
Definition: BKE_appdir.h:163
#define STRINGIFY_ARG(x)

Definition at line 1152 of file creator_args.c.

◆ arg_handle_env_system_set_doc_python

const char arg_handle_env_system_set_doc_python[]
static
Initial value:
=
"\n\t"
"Set the " STRINGIFY_ARG(BLENDER_SYSTEM_PYTHON) " environment variable."
@ BLENDER_SYSTEM_PYTHON
Definition: BKE_appdir.h:165

Definition at line 1158 of file creator_args.c.

◆ arg_handle_env_system_set_doc_scripts

const char arg_handle_env_system_set_doc_scripts[]
static
Initial value:
=
"\n\t"
"Set the " STRINGIFY_ARG(BLENDER_SYSTEM_SCRIPTS) " environment variable."
@ BLENDER_SYSTEM_SCRIPTS
Definition: BKE_appdir.h:164

Definition at line 1155 of file creator_args.c.

◆ arg_handle_extension_set_doc

const char arg_handle_extension_set_doc[]
static
Initial value:
=
"<bool>\n"
"\tSet option to add the file extension to the end of the file."

Definition at line 1528 of file creator_args.c.

◆ arg_handle_factory_startup_set_doc

const char arg_handle_factory_startup_set_doc[]
static
Initial value:
=
"\n\t"
"Skip reading the " STRINGIFY(BLENDER_STARTUP_FILE) " in the users home directory."
#define BLENDER_STARTUP_FILE
Definition: BKE_appdir.h:175
#define STRINGIFY(x)

Definition at line 1129 of file creator_args.c.

◆ arg_handle_frame_end_set_doc

const char arg_handle_frame_end_set_doc[]
static
Initial value:
=
"<frame>\n"
"\tSet end to frame <frame>, supports +/- for relative frames too."

Definition at line 1702 of file creator_args.c.

◆ arg_handle_frame_skip_set_doc

const char arg_handle_frame_skip_set_doc[]
static
Initial value:
=
"<frames>\n"
"\tSet number of frames to step forward after each rendered frame."

Definition at line 1735 of file creator_args.c.

◆ arg_handle_frame_start_set_doc

const char arg_handle_frame_start_set_doc[]
static
Initial value:
=
"<frame>\n"
"\tSet start to frame <frame>, supports +/- for relative frames too."

Definition at line 1669 of file creator_args.c.

◆ arg_handle_image_type_set_doc

const char arg_handle_image_type_set_doc[]
static
Initial value:
=
"<format>\n"
"\tSet the render format.\n"
"\tValid options are:\n"
"\t'TGA' 'RAWTGA' 'JPEG' 'IRIS' 'IRIZ' 'AVIRAW' 'AVIJPEG' 'PNG' 'BMP'\n"
"\n"
"\tFormats that can be compiled into Blender, not available on all systems:\n"
"\t'HDR' 'TIFF' 'OPEN_EXR' 'OPEN_EXR_MULTILAYER' 'MPEG' 'CINEON' 'DPX' 'DDS' 'JP2' 'WEBP'"

Definition at line 1435 of file creator_args.c.

◆ arg_handle_load_last_file_doc

const char arg_handle_load_last_file_doc[]
static
Initial value:
=
"\n\t"
"Open the most recently opened blend file, instead of the default startup file."

Definition at line 2016 of file creator_args.c.

◆ arg_handle_log_file_set_doc

const char arg_handle_log_file_set_doc[]
static
Initial value:
=
"<filepath>\n"
"\tSet a file to output the log to."

Definition at line 831 of file creator_args.c.

◆ arg_handle_log_level_set_doc

const char arg_handle_log_level_set_doc[]
static
Initial value:
=
"<level>\n"
"\tSet the logging verbosity level (higher for more details) defaults to 1,\n"
"\tuse -1 to log all levels."

Definition at line 772 of file creator_args.c.

◆ arg_handle_log_set_doc

const char arg_handle_log_set_doc[]
static
Initial value:
=
"<match>\n"
"\tEnable logging categories, taking a single comma separated argument.\n"
"\tMultiple categories can be matched using a '.*' suffix,\n"
"\tso '--log \"wm.*\"' logs every kind of window-manager message.\n"
"\tSub-string can be matched using a '*' prefix and suffix,\n"
"\tso '--log \"*undo*\"' logs every kind of undo-related message.\n"
"\tUse \"^\" prefix to ignore, so '--log \"*,^wm.operator.*\"' logs all except for "
"'wm.operators.*'\n"
"\tUse \"*\" to log everything."

Definition at line 857 of file creator_args.c.

◆ arg_handle_log_show_backtrace_set_doc

const char arg_handle_log_show_backtrace_set_doc[]
static
Initial value:
=
"\n\t"
"Show a back trace for each log message (debug builds only)."

Definition at line 807 of file creator_args.c.

◆ arg_handle_log_show_basename_set_doc

const char arg_handle_log_show_basename_set_doc[]
static
Initial value:
=
"\n\t"
"Only show file name in output (not the leading path)."

Definition at line 796 of file creator_args.c.

◆ arg_handle_log_show_timestamp_set_doc

const char arg_handle_log_show_timestamp_set_doc[]
static
Initial value:
=
"\n\t"
"Show a timestamp for each log message in seconds since start."

Definition at line 820 of file creator_args.c.

◆ arg_handle_native_pixels_set_doc

const char arg_handle_native_pixels_set_doc[]
static
Initial value:
=
"\n\t"
"Do not use native pixel size, for high resolution displays (MacBook 'Retina')."

Definition at line 1250 of file creator_args.c.

◆ arg_handle_no_window_focus_doc

const char arg_handle_no_window_focus_doc[]
static
Initial value:
=
"\n\t"
"Open behind other windows and without taking focus."

Definition at line 1292 of file creator_args.c.

◆ arg_handle_output_set_doc

const char arg_handle_output_set_doc[]
static
Initial value:
=
"<path>\n"
"\tSet the render path and file name.\n"
"\tUse '//' at the start of the path to render relative to the blend-file.\n"
"\n"
"\tThe '#' characters are replaced by the frame number, and used to define zero padding.\n"
"\n"
"\t* 'animation_##_test.png' becomes 'animation_01_test.png'\n"
"\t* 'test-######.png' becomes 'test-000001.png'\n"
"\n"
"\tWhen the filename does not contain '#', The suffix '####' is added to the filename.\n"
"\n"
"\tThe frame number will be added at the end of the filename, eg:\n"
"\t# blender -b animation.blend -o //render_ -F PNG -x 1 -a\n"
"\t'//render_' becomes '//render_####', writing frames as '//render_0001.png'"

Definition at line 1361 of file creator_args.c.

◆ arg_handle_playback_mode_doc

const char arg_handle_playback_mode_doc[]
static
Initial value:
=
"<options> <file(s)>\n"
"\tInstead of showing Blender's user interface, this runs Blender as an animation player,\n"
"\tto view movies and image sequences rendered in Blender (ignored if '-b' is set).\n"
"\n"
"\tPlayback Arguments:\n"
"\n"
"\t-p <sx> <sy>\n"
"\t\tOpen with lower left corner at <sx>, <sy>.\n"
"\t-m\n"
"\t\tRead from disk (Do not buffer).\n"
"\t-f <fps> <fps-base>\n"
"\t\tSpecify FPS to start with.\n"
"\t-j <frame>\n"
"\t\tSet frame step to <frame>.\n"
"\t-s <frame>\n"
"\t\tPlay from <frame>.\n"
"\t-e <frame>\n"
"\t\tPlay until <frame>.\n"
"\t-c <cache_memory>\n"
"\t\tAmount of memory in megabytes to allow for caching images during playback.\n"
"\t\tZero disables (clamping to a fixed number of frames instead)."

Definition at line 1184 of file creator_args.c.

◆ arg_handle_print_help_doc

const char arg_handle_print_help_doc[]
static
Initial value:
=
"\n\t"
"Print this help text and exit."

Definition at line 482 of file creator_args.c.

◆ arg_handle_print_help_doc_win32

const char arg_handle_print_help_doc_win32[]
static
Initial value:
=
"\n\t"
"Print this help text and exit (Windows only)."

Definition at line 485 of file creator_args.c.

◆ arg_handle_print_version_doc

const char arg_handle_print_version_doc[]
static
Initial value:
=
"\n\t"
"Print Blender version and exit."

Definition at line 470 of file creator_args.c.

◆ arg_handle_python_console_run_doc

const char arg_handle_python_console_run_doc[]
static
Initial value:
=
"\n\t"
"Run Blender with an interactive console."

Definition at line 1865 of file creator_args.c.

◆ arg_handle_python_exit_code_set_doc

const char arg_handle_python_exit_code_set_doc[]
static
Initial value:
=
"<code>\n"
"\tSet the exit-code in [0..255] to exit if a Python exception is raised\n"
"\t(only for scripts executed from the command line), zero disables."

Definition at line 1883 of file creator_args.c.

◆ arg_handle_python_expr_run_doc

const char arg_handle_python_expr_run_doc[]
static
Initial value:
=
"<expression>\n"
"\tRun the given expression as a Python script."

Definition at line 1836 of file creator_args.c.

◆ arg_handle_python_file_run_doc

const char arg_handle_python_file_run_doc[]
static
Initial value:
=
"<filepath>\n"
"\tRun the given Python script file."

Definition at line 1761 of file creator_args.c.

◆ arg_handle_python_set_doc_disable

const char arg_handle_python_set_doc_disable[]
static
Initial value:
=
"\n\t"
"Disable automatic Python script execution (pydrivers & startup scripts)" PY_DISABLE_AUTO "."
#define PY_DISABLE_AUTO
Definition: creator_args.c:692

Definition at line 701 of file creator_args.c.

◆ arg_handle_python_set_doc_enable

const char arg_handle_python_set_doc_enable[]
static
Initial value:
=
"\n\t"
"Enable automatic Python script execution" PY_ENABLE_AUTO "."
#define PY_ENABLE_AUTO
Definition: creator_args.c:691

Definition at line 698 of file creator_args.c.

◆ arg_handle_python_text_run_doc

const char arg_handle_python_text_run_doc[]
static
Initial value:
=
"<name>\n"
"\tRun the given Python script text block."

Definition at line 1795 of file creator_args.c.

◆ arg_handle_python_use_system_env_set_doc

const char arg_handle_python_use_system_env_set_doc[]
static
Initial value:
=
"\n\t"
"Allow Python to use system environment variables such as 'PYTHONPATH' and the user "
"site-packages directory."

Definition at line 1911 of file creator_args.c.

◆ arg_handle_register_extension_doc

const char arg_handle_register_extension_doc[]
static
Initial value:
=
"\n\t"
"Register blend-file extension, then exit (Windows only)."

Definition at line 1314 of file creator_args.c.

◆ arg_handle_register_extension_doc_silent

const char arg_handle_register_extension_doc_silent[]
static
Initial value:
=
"\n\t"
"Silently register blend-file extension, then exit (Windows only)."

Definition at line 1317 of file creator_args.c.

◆ arg_handle_render_animation_doc

const char arg_handle_render_animation_doc[]
static
Initial value:
=
"\n\t"
"Render frames from start to end (inclusive)."

Definition at line 1619 of file creator_args.c.

◆ arg_handle_render_frame_doc

const char arg_handle_render_frame_doc[]
static
Initial value:
=
"<frame>\n"
"\tRender frame <frame> and save it.\n"
"\n"
"\t* +<frame> start frame relative, -<frame> end frame relative.\n"
"\t* A comma separated list of frames can also be used (no spaces).\n"
"\t* A range of frames can be expressed using '..' separator between the first and last "
"frames (inclusive).\n"

Definition at line 1560 of file creator_args.c.

◆ arg_handle_scene_set_doc

const char arg_handle_scene_set_doc[]
static
Initial value:
=
"<name>\n"
"\tSet the active scene <name> for rendering."

Definition at line 1642 of file creator_args.c.

◆ arg_handle_start_with_console_doc

const char arg_handle_start_with_console_doc[]
static
Initial value:
=
"\n\t"
"Start with the console window open (ignored if '-b' is set), (Windows only)."

Definition at line 1303 of file creator_args.c.

◆ arg_handle_threads_set_doc

const char arg_handle_threads_set_doc[]
static
Initial value:
=
"<threads>\n"
"\tUse amount of <threads> for rendering and other operations\n"
"\t[1-" STRINGIFY(BLENDER_MAX_THREADS) "], 0 for systems processor count."
#define BLENDER_MAX_THREADS
Definition: BLI_threads.h:19

Definition at line 1473 of file creator_args.c.

◆ arg_handle_verbosity_set_doc

const char arg_handle_verbosity_set_doc[]
static
Initial value:
=
"<verbose>\n"
"\tSet the logging verbosity level for debug messages that support it."

Definition at line 1501 of file creator_args.c.

◆ arg_handle_window_geometry_doc

const char arg_handle_window_geometry_doc[]
static
Initial value:
=
"<sx> <sy> <w> <h>\n"
"\tOpen with lower left corner at <sx>, <sy> and width and height as <w>, <h>."

Definition at line 1224 of file creator_args.c.

◆ arg_handle_window_maximized_doc

const char arg_handle_window_maximized_doc[]
static
Initial value:
=
"\n\t"
"Force opening maximized."

Definition at line 1281 of file creator_args.c.

◆ arg_handle_with_borders_doc

const char arg_handle_with_borders_doc[]
static
Initial value:
=
"\n\t"
"Force opening with borders."

Definition at line 1261 of file creator_args.c.

◆ arg_handle_without_borders_doc

const char arg_handle_without_borders_doc[]
static
Initial value:
=
"\n\t"
"Force opening in fullscreen mode."

Definition at line 1270 of file creator_args.c.