Blender V4.3
creator_args.cc File Reference
#include <cerrno>
#include <cstdlib>
#include <cstring>
#include "MEM_guardedalloc.h"
#include "CLG_log.h"
#include "BLI_args.h"
#include "BLI_dynstr.h"
#include "BLI_fileops.h"
#include "BLI_listbase.h"
#include "BLI_path_utils.hh"
#include "BLI_string.h"
#include "BLI_string_utf8.h"
#include "BLI_system.h"
#include "BLI_threads.h"
#include "BLI_utildefines.h"
#include "BLI_mempool.h"
#include "BKE_appdir.hh"
#include "BKE_blender_cli_command.hh"
#include "BKE_blender_version.h"
#include "BKE_blendfile.hh"
#include "BKE_context.hh"
#include "BKE_global.hh"
#include "BKE_image_format.hh"
#include "BKE_lib_id.hh"
#include "BKE_main.hh"
#include "BKE_report.hh"
#include "BKE_scene.hh"
#include "BKE_sound.h"
#include "GPU_capabilities.hh"
#include "GPU_context.hh"
#include "RE_engine.h"
#include "RE_pipeline.h"
#include "WM_api.hh"
#include "DEG_depsgraph.hh"
#include "WM_types.hh"
#include "creator_intern.h"

Go to the source code of this file.

Classes

struct  BuildDefs
 
struct  BA_ArgCallback_Deferred
 

Macros

#define printf   __ERROR__
 
#define PRINT(...)   BLI_args_printf(ba, __VA_ARGS__)
 
#define CB(a)   a##_doc, a
 
#define CB_EX(a, b)   a##_doc_##b, a
 
#define CB_ALL(a)   (all ? a##_doc_all : a##_doc), a
 

Functions

Build Defines
static void build_defs_init (BuildDefs *build_defs, bool force_all)
 
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]
 
Deferred Argument Handling

Support executing an argument running instead of WM_main which is deferred. Needed for arguments which are handled early but require sub-systems (Python in particular) * to be initialized.

static bool main_arg_deferred_is_set ()
 
static void main_arg_deferred_setup (BA_ArgCallback func, int argc, const char **argv, void *data)
 
void main_arg_deferred_free ()
 
static void main_arg_deferred_exit_code_set (int exit_code)
 
int main_arg_deferred_handle ()
 

Handle Argument Callbacks

Note
Doc strings here are used in differently:
#define PY_ENABLE_AUTO   ", (default, non-standard compilation option)"
 
#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_internet_allow_set_doc_online []
 
static const char arg_handle_internet_allow_set_doc_offline []
 
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_quiet_set_doc []
 
static const char arg_handle_background_mode_set_doc []
 
static const char arg_handle_command_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_ffmpeg []
 
static const char arg_handle_debug_mode_generic_set_doc_freestyle []
 
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_xr []
 
static const char arg_handle_debug_mode_generic_set_doc_xr_time []
 
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_uid []
 
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_libmv_doc []
 
static const char arg_handle_debug_mode_cycles_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_gpu_compile_shaders_set_doc []
 
static const char arg_handle_debug_gpu_scope_capture_set_doc []
 
static const char arg_handle_debug_gpu_renderdoc_set_doc []
 
static const char arg_handle_gpu_backend_set_doc_all []
 
static const char arg_handle_gpu_backend_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_env_system_set_doc_extensions []
 
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_all_doc []
 
static const char arg_handle_unregister_extension_doc []
 
static const char arg_handle_unregister_extension_all_doc []
 
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 ()
 
static void print_version_short ()
 
static int arg_handle_print_version (int, const char **, void *)
 
static void print_help (bArgs *ba, bool all)
 
static void help_print_ds_fn (void *ds_v, const char *format, va_list args)
 
static char * main_args_help_as_string (bool all)
 
static int arg_handle_print_help (int, const char **, void *data)
 
static int arg_handle_arguments_end (int, const char **, void *)
 
static int arg_handle_python_set (int, const char **, void *data)
 
static int arg_handle_internet_allow_set (int, const char **, void *data)
 
static int arg_handle_crash_handler_disable (int, const char **, void *)
 
static int arg_handle_abort_handler_disable (int, const char **, void *)
 
static void clog_abort_on_error_callback (void *fp)
 
static int arg_handle_debug_exit_on_error (int, const char **, void *)
 
static int arg_handle_quiet_set (int, const char **, void *)
 
static void background_mode_set ()
 
static int arg_handle_background_mode_set (int, const char **, void *)
 
static int arg_handle_command_set (int argc, const char **argv, void *data)
 
static int arg_handle_log_level_set (int argc, const char **argv, void *)
 
static int arg_handle_log_show_basename_set (int, const char **, void *)
 
static int arg_handle_log_show_backtrace_set (int, const char **, void *)
 
static int arg_handle_log_show_timestamp_set (int, const char **, void *)
 
static int arg_handle_log_file_set (int argc, const char **argv, void *)
 
static int arg_handle_log_set (int argc, const char **argv, void *)
 
static int arg_handle_debug_mode_set (int, const char **, void *data)
 
static int arg_handle_debug_mode_generic_set (int, const char **, void *data)
 
static int arg_handle_debug_mode_io (int, const char **, void *)
 
static int arg_handle_debug_mode_all (int, const char **, void *)
 
static int arg_handle_debug_mode_libmv (int, const char **, void *)
 
static int arg_handle_debug_mode_cycles (int, const char **, void *)
 
static int arg_handle_debug_mode_memory_set (int, const char **, void *)
 
static int arg_handle_debug_value_set (int argc, const char **argv, void *)
 
static int arg_handle_debug_gpu_set (int, const char **, void *)
 
static int arg_handle_debug_gpu_compile_shaders_set (int, const char **, void *)
 
static int arg_handle_debug_gpu_scope_capture_set (int argc, const char **argv, void *)
 
static int arg_handle_debug_gpu_renderdoc_set (int, const char **, void *)
 
static int arg_handle_gpu_backend_set (int argc, const char **argv, void *)
 
static int arg_handle_debug_fpe_set (int, const char **, void *)
 
static int arg_handle_app_template (int argc, const char **argv, void *)
 
static int arg_handle_factory_startup_set (int, const char **, void *)
 
static int arg_handle_enable_event_simulate (int, const char **, void *)
 
static int arg_handle_env_system_set (int argc, const char **argv, void *)
 
static int arg_handle_playback_mode (int argc, const char **argv, void *)
 
static int arg_handle_window_geometry (int argc, const char **argv, void *)
 
static int arg_handle_native_pixels_set (int, const char **, void *)
 
static int arg_handle_with_borders (int, const char **, void *)
 
static int arg_handle_without_borders (int, const char **, void *)
 
static int arg_handle_window_maximized (int, const char **, void *)
 
static int arg_handle_no_window_focus (int, const char **, void *)
 
static int arg_handle_start_with_console (int, const char **, void *)
 
static bool arg_handle_extension_registration (const bool do_register, const bool all_users)
 
static int arg_handle_register_extension (int argc, const char **argv, void *data)
 
static int arg_handle_register_extension_all (int argc, const char **argv, void *data)
 
static int arg_handle_unregister_extension (int argc, const char **argv, void *data)
 
static int arg_handle_unregister_extension_all (int argc, const char **argv, void *data)
 
static int arg_handle_audio_disable (int, const char **, void *)
 
static int arg_handle_audio_set (int argc, const char **argv, void *)
 
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 *)
 
static int arg_handle_verbosity_set (int argc, const char **argv, void *)
 
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, const char **, 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, const char **, void *data)
 
static int arg_handle_python_exit_code_set (int argc, const char **argv, void *)
 
static int arg_handle_python_use_system_env_set (int, const char **, void *)
 
static int arg_handle_addons_set (int argc, const char **argv, void *data)
 
static bool handle_load_file (bContext *C, const char *filepath_arg, const bool load_empty_file)
 
int main_args_handle_load_file (int, const char **argv, void *data)
 
static int arg_handle_load_last_file (int, const char **, void *data)
 
void main_args_setup (bContext *C, bArgs *ba, bool all)
 

Macro Definition Documentation

◆ CB

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

Referenced by main_args_setup().

◆ CB_ALL

#define CB_ALL ( a)    (all ? a##_doc_all : a##_doc), a

Referenced by main_args_setup().

◆ CB_EX

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

Referenced by main_args_setup().

◆ PRINT

#define PRINT ( ...)    BLI_args_printf(ba, __VA_ARGS__)

Referenced by print_help().

◆ printf

#define printf   __ERROR__

Referenced by __attribute__(), _softbody_calc_forces_slice_in_a_thread(), actcon_get_tarmat(), blender::animrig::action_fcurve_attach(), action_idcode_patch_check(), action_new_exec(), action_preview_render(), action_to_animdata(), add_member(), add_struct(), add_type(), add_vertex_extrude(), addedgetoscanlist(), adduplicateflagNurb(), adjust_the_cycle_or_chain(), ANIM_animdata_filter(), ANIM_animdata_update(), ANIM_armature_bonecoll_insert_copy_after(), ANIM_builtin_keyingset_get_named(), ANIM_channel_debug_print_info(), ANIM_flush_setting_anim_channels(), animchannels_delete_exec(), animchannels_rearrange_exec(), animdata_filter_animchan(), animdata_filter_dopesheet(), animdata_filter_ds_textures(), annotation_draw_modal(), annotation_paint_initstroke(), annotation_stroke_begin(), arg_handle_debug_mode_set(), arg_handle_engine_set(), armature_finalize_restpose(), AUD_initPython(), blender::gpu::MTLShader::bake_pipeline_state(), blender::ed::object::base_free_and_unlink(), GHOST_WindowX11::beginFullScreen(), bevel_build_cutoff(), BKE_animsys_evaluate_all_animation(), BKE_animsys_fix_rna_path_rename(), BKE_area_region_free(), BKE_blendfile_read(), BKE_blendfile_userdef_write_all(), BKE_brush_debug_print_state(), BKE_bvhtree_from_mesh_get(), BKE_curveprofile_evaluate_length_portion(), BKE_fcurve_merge_duplicate_keys(), BKE_image_free_all_textures(), BKE_image_print_memlist(), BKE_image_render_write(), BKE_image_signal(), BKE_keyconfig_pref_type_find(), BKE_library_make_local(), BKE_linestyle_path_to_color_ramp(), BKE_main_namemap_destroy(), BKE_mask_layer_evaluate_animation(), BKE_mesh_remap_calc_difference_from_mesh(), BKE_mesh_runtime_is_valid(), BKE_modifier_blend_read_data(), BKE_nla_debug_print_flags(), BKE_nla_tweakmode_enter(), BKE_nla_validate_state(), BKE_nlatrack_find_tweaked(), BKE_object_handle_update_ex(), BKE_packedfile_free(), BKE_packedfile_unpack_all_libraries(), BKE_packedfile_unpack_to_file(), BKE_pose_check_uids_unique_and_report(), BKE_ptcache_bake(), BKE_ptcache_toggle_disk_cache(), BKE_report(), BKE_reportf(), BKE_scene_set_name(), BKE_screen_blend_read_data(), BKE_screen_remove_unused_scredges(), BKE_shrinkwrap_find_nearest_surface(), BKE_shrinkwrap_snap_point_to_surface(), BKE_spacetype_register(), BKE_subdiv_ccg_print_coord(), BKE_undosys_print(), BKE_workspace_layout_find(), blend_write_layer_data(), Freestyle::BlenderStrokeRenderer::BlenderStrokeRenderer(), blf_ensure_face(), blf_font_wrap_apply(), blf_glyph_index_from_charcode(), BLF_load_mem_unique(), BLF_load_unique(), BLF_state_print(), BLI_args_print(), BLI_newton3d_solve(), BLI_path_abs_from_cwd(), BLI_scanfill_calc_ex(), BLI_threadpool_insert(), blo_do_versions_270(), blo_do_versions_280(), blo_do_versions_pre250(), BLO_reportf_wrap(), BLT_lang_init(), bm_face_region_pivot_edge_find(), bm_face_split_edgenet_find_connection(), bm_face_split_edgenet_find_loop_walk(), bm_isect_edge_tri(), bm_isect_tri_tri(), BM_log_print_entry(), BM_mesh_bevel(), BM_mesh_bm_from_me(), BM_mesh_intersect(), bm_mesh_loops_assign_normal_data(), bm_mesh_loops_split_lnor_fans(), BM_mesh_region_match(), BM_mesh_remap(), bmo_connect_vert_pair_exec(), BMO_op_callf(), BMO_op_initf(), blender::animrig::internal::bonecolls_debug_list(), BPY_driver_exec(), BPy_IDGroup_CorrectListLen(), BPy_init_modules(), BPY_modules_load_user(), BPY_python_end(), BPY_rna_exit(), btComputeGjkEpaPenetration(), blender::deg::AbstractBuilderPipeline::build(), blender::deg::AbstractBuilderPipeline::build_step_finalize(), KKTPreconditioner::buildDiagonalA(), btDbvtBroadphase::calculateOverlappingPairs(), cg_filtered(), blender::ed::object::childof_set_inverse_exec(), cineonCreate(), cineonOpen(), clear_key_button_exec(), clearUserCache(), btPolyhedralContactClipping::clipFaceAgainstHull(), cloth_build_springs(), cloth_free_modifier_extern(), cloth_from_object(), colormanage_check_colorspace_settings(), colormanage_check_display_settings(), colormanage_check_view_settings(), colormanage_load_config(), colormanage_role_color_space_name_get(), colormanagement_init(), blender::io::obj::OBJExportRegressionTest::compare_obj_export_to_golden(), blender::io::stl::STLExportTest::compare_to_golden(), btConvexHullInternal::compute(), Freestyle::FEdgeXDetector::computeCurvatures(), Freestyle::ViewMapBuilder::ComputeSweepLineIntersections(), Freestyle::Controller::ComputeViewMap(), btCollisionWorldImporter::convertAllObjects(), btCollisionWorldImporter::convertCollisionShape(), convertRGB_RGBA(), convertRGBA_RGB(), convertSDLKey(), convertViewVec(), blender::bke::mesh::corner_split_generator(), Freestyle::BlenderFileLoader::countClippedFaces(), blender::io::grease_pencil::PDFExporter::create_document(), create_ghost_curves(), create_reference_spaces(), create_samples_even_spacing(), create_trans_data(), btSoftBodyHelpers::CreateFromTetGenData(), btSoftBodyHelpers::CreateFromVtkFile(), Freestyle::createStroke(), Freestyle::CurvePoint::CurvePoint(), customData_mask_layers__print(), debug_markers_print_list(), blender::gpu::ShaderInterface::debug_print(), deform_verts(), deform_verts(), DEG_debug_consistency_check(), delete_key_button_exec(), delete_key_using_keying_set(), blender::gpu::detect_workarounds(), Scene::device_update(), DeviceAdded(), DeviceEvent(), DeviceRemoved(), DNA_reconstruct_info_create(), DNA_struct_get_compareflags(), do_versions_after_linking_290(), do_versions_ipos_to_animato(), do_write_image_or_movie(), dpxCreate(), dpxOpen(), blender::draw::DRW_curve_batch_cache_create_requested(), DRW_shgroup_storage_block_ex(), DRW_shgroup_storage_block_ref_ex(), DRW_shgroup_uniform_block_ex(), DRW_shgroup_uniform_block_ref_ex(), DRW_shgroup_vertex_buffer_ex(), DRW_shgroup_vertex_buffer_ref_ex(), ShaderGraph::dump_graph(), ED_armature_from_edit(), ED_drivers_editor_init(), ED_node_composit_default(), ED_node_shader_default(), ED_node_texture_default(), ED_scene_fps_average_calc(), ED_undo_operator_repeat(), EDBM_automerge_and_split(), edbm_ripsel_looptag_helper(), EDBM_verts_mirror_get(), blender::ed::object::edit_constraint_property_get(), blender::draw::overlay::Particles::edit_object_sync(), blender::deg::DepsgraphDebug::end_graph_evaluation(), blender::deg::light_linking::internal::EmitterDataMap::ensure_data_if_possible(), error(), blender::animrig::evaluate_keyframe_data(), DenoiseTask::exec(), expand_doit_library(), exr_print_filecontents(), face_edge_loop_islands_calc(), face_edges_split(), fcurve_eval_keyframes_interpolate(), file_older(), filelist_file_cache_block(), filelist_file_cache_block_release(), filelist_free(), find_nearest_points_test(), flyApply(), foreach_libblock_id_users_callback(), foreach_libblock_remap_callback(), free_data(), Freestyle_Init(), FRS_free_view_map_cache(), get_uids_cb(), btGjkPairDetector::getClosestPointsNonVirtual(), GHOST_DisplayManagerCocoa::getCurrentDisplaySetting(), GHOST_DisplayManagerCocoa::getDisplaySetting(), GHOST_DisplayManagerWin32::getDisplaySetting(), Freestyle::CurvePoint::getFEdge(), getVertexCopy(), GHOST_ContextCGL::GHOST_ContextCGL(), ghost_event_proc(), ghost_event_proc(), ghost_key_from_keycode(), ghost_key_from_keysym(), GHOST_NDOFManagerCocoa::GHOST_NDOFManagerCocoa(), GHOST_XrEventsHandle(), gpu_material_ramp_texture_row_set(), gpu_material_sky_texture_layer_set(), gpu_offscreen_fb_get(), gpu_select_pick_begin(), gpu_select_pick_cache_begin(), gpu_select_pick_cache_end(), gpu_select_pick_cache_load_id(), gpu_select_pick_end(), GPU_shader_compile_static(), gpu_shader_create_info_compile(), gpu_shader_create_info_get(), GPU_vertformat_safe_attr_name(), blender::deg::graph_id_tag_update(), gzip_close(), handle_load_file(), handle_returned_value(), GHOST_SystemCocoa::handleKeyEvent(), handleNumInput(), blender::ed::asset::has_external_files(), ibuftoimage(), icon_create_rect(), icon_draw_rect(), icon_draw_size(), icon_set_image(), icu_to_fcurves(), blender::animrig::id_action_ensure(), IDP_BlendReadData_impl(), IDP_DirectLinkProperty(), IDP_EqualsProperties_ex(), IDP_print(), idproperties_fix_groups_lengths_recurse(), image_load_sequence_multilayer(), image_render_print_save_message(), IMB_anim_index_rebuild_context(), IMB_colormanagement_colorspace_to_scene_linear(), IMB_colormanagement_colorspace_to_scene_linear_v3(), IMB_colormanagement_colorspace_to_scene_linear_v4(), IMB_colormanagement_role_colorspace_name_get(), IMB_colormanagement_scene_linear_to_colorspace(), IMB_colormanagement_scene_linear_to_colorspace_v3(), imb_enlargeencodedbufferImBuf(), IMB_exr_multilayer_convert(), imb_exr_multilayer_parse_channels_from_file(), imb_exr_split_channel_name(), IMB_exr_write_channels(), IMB_free_anim(), IMB_isanim(), imb_ispic_read_header_from_filepath(), imb_load_dpx_cineon(), imb_load_jp2_stream(), imb_load_openexr(), imb_save_dpx_cineon(), imb_save_openexr_float(), imb_save_openexr_half(), immEndVertex(), implicit_print_matrix_elem(), blender::io::obj::OBJImportTest::import_and_check(), blender::io::stl::stl_importer_test::import_and_check(), initTransInfo(), Freestyle::BlenderFileLoader::insertShapeNode(), int4_ghash_tests(), int4_map_tests(), int_ghash_tests(), int_map_tests(), integrateTransformsInternal(), internalAdd(), ipo_free_data(), ipo_to_animato(), ipo_to_animdata(), isect_bvhtree_point_v3(), lattice_flip_exec(), blender::ed::outliner::lib_relocate(), libblock_remap_data(), lineart_count_and_print_render_buffer_memory(), lineart_create_edges_from_isec_data(), lineart_main_add_triangles(), lineart_main_load_geometries(), lineart_main_make_enclosed_shapes(), lineart_main_try_generate_shadow_v3(), lineart_shadow_cast_generate_edges(), lineart_shadow_create_shadow_edge_array(), load_driver_functions(), load_func(), Freestyle::Controller::LoadMesh(), logImageElementGetData1(), logImageElementGetData10(), logImageElementGetData10Packed(), logImageElementGetData12(), logImageElementGetData12Packed(), logImageElementGetData16(), logImageElementGetData8(), logImageGetDataRGBA(), logImageSetData10(), logImageSetData12(), logImageSetData16(), logImageSetData8(), main(), main(), main(), main(), main(), main(), make(), make_recursive_duplis(), make_renderinfo_string(), make_structDNA(), MEM_guarded_printmemlist_stats(), MEM_lockfree_printmemlist_stats(), menu_items_from_ui_create(), menu_items_from_ui_create_item_from_button(), blender::draw::mesh_buffer_cache_create_requested(), mesh_corner_tris_target_project(), mesh_ensure_tessellation_customdata(), blender::bke::mesh::mesh_normals_corner_custom_set(), meshdeform_bind_floodfill(), meshdeform_matrix_solve(), blender::gpu::MTLBackend::metal_is_supported(), libmv::Dogleg< Function, Jacobian, Solver >::minimize(), MOD_lineart_compute_feature_lines_v3(), MOD_lineart_destroy_render_data_v3(), MOD_lineart_gpencil_generate_v3(), MOD_solidify_nonmanifold_modifyMesh(), modify_mesh(), mouse_anim_channels(), mouse_mesh_loop(), mouse_nla_tracks(), multi_small_ghash_tests(), btCollisionDispatcher::needsCollision(), nlastrip_fix_overlapping(), nlastrip_shuffle_transformed(), blender::workbench::ShadowPass::object_sync(), blender::ed::object::objectsolver_set_inverse_exec(), operator_enum_search_exec_fn(), operator_enum_search_update_fn(), options_parse(), osl_range_check(), OVERLAY_edit_particle_cache_populate(), paint_new_blur_kernel(), ExtraHandler::parseElement(), particles_fluid_step(), pastebuf_match_path_property(), popup_block_template_close_cb(), pose_select_grouped_exec(), blender::io::alembic::preprocess_sample(), previews_clear_exec(), blender::bke::id::IDRemapper::print(), btReducedVector::print(), InnerNode::print(), LeafNode::print(), SVMCompiler::Stack::print(), blender::bke::pbvh::pixels::CopyPixelTile::print_compression_rate(), blender::deg::RootPChanMap::print_debug(), print_debug_timings(), print_float(), print_float2(), print_float3(), print_float4(), print_ghash_stats(), print_int3(), print_int4(), blender::gpu::debug::VKDebuggingTools::print_labels(), print_lmatrix(), print_lvector(), print_m3(), print_m4(), Node::print_modified_sockets(), print_projection(), print_qt(), print_rctf(), print_rcti(), print_reconstruct_step(), print_struct_sizes(), print_transform(), print_v2(), print_v3(), print_v4(), print_version_full(), print_version_short(), print_vfloat8(), print_vn(), libmv::PrintArray(), blender::gpu::printf_end(), MemoryAllocator< N >::printInfo(), btMatrixX< T >::printMatrix(), btConvexConvexAlgorithm::processCollision(), btConnectivityProcessor::processTriangle(), project_bucket_clip_face(), project_paint_face_init(), psys_particle_dm_face_lookup(), psys_thread_context_init_distribute(), ptcache_disk_frame_to_mem(), ptcache_mem_frame_to_disk(), ptcache_read_stream(), ptcache_write_stream(), PyC_RunQuicky(), pygpu_framebuffer_free_if_possible(), pygpu_shader_info_push_constant(), pyrna_func_call(), quantize(), randint_ghash_tests(), randint_map_tests(), raycast_callback(), RE_bake_pixels_populate_from_objects(), RE_RenderAnim(), RE_RenderFrame(), RE_WriteRenderViewsMovie(), blender::io::alembic::AbcPointsReader::read_geometry(), blender::io::alembic::AbcMeshReader::read_mesh(), blender::draw::select::SelectMap::read_result(), Freestyle::AppCanvas::readColorPixels(), Freestyle::AppCanvas::readDepthPixels(), blender::io::alembic::AbcNurbsReader::readObjectData(), blender::io::alembic::AbcSubDReader::readObjectData(), rearrange_animchannel_add_to_islands(), reconstruct_retrieve_libmv_tracks(), region_rect_recursive(), regions_remove_invalid(), remap_hair_emitter(), rename_anim_channels(), BlenderSession::render(), blender::eevee::Instance::render_frame(), render_result_exr_file_cache_read(), render_result_exr_file_cache_write(), render_result_single_layer_end(), Freestyle::Controller::RenderStrokes(), RNA_boolean_get(), RNA_boolean_get_array(), RNA_boolean_set(), RNA_boolean_set_array(), RNA_collection_add(), RNA_collection_begin(), RNA_collection_clear(), RNA_collection_is_empty(), RNA_collection_length(), RNA_enum_get(), RNA_enum_is_equal(), RNA_enum_set(), RNA_enum_set_identifier(), RNA_float_get(), RNA_float_get_array(), RNA_float_set(), RNA_float_set_array(), rna_generate_header_cpp(), rna_generate_struct_prototypes(), rna_idproperty_find(), RNA_int_get(), RNA_int_get_array(), RNA_int_set(), RNA_int_set_array(), RNA_pointer_add(), RNA_pointer_get(), RNA_pointer_set(), RNA_property_pointer_add(), RNA_property_pointer_poll(), RNA_property_pointer_remove(), RNA_string_get(), RNA_string_get_alloc(), RNA_string_length(), RNA_string_set(), RNA_struct_override_matches(), scanfill(), scene_delete_exec(), screen_animation_step_invoke(), screen_opengl_render_end(), screen_opengl_render_write(), screen_refresh(), SCULPT_cache_calc_brushdata_symm(), select_anim_channel_keys(), blender::draw::select::SelectMap::select_id(), seq_convert_callback(), seq_free_strip(), session_exit(), session_print(), set_device_override_func(), GHOST_DisplayManagerCocoa::setCurrentDisplaySetting(), GHOST_DisplayManagerSDL::setCurrentDisplaySetting(), GHOST_DisplayManagerWin32::setCurrentDisplaySetting(), GHOST_DisplayManagerX11::setCurrentDisplaySetting(), GHOST_WindowCocoa::setPath(), shrinkwrap_snap_with_side(), sig_handle_blender_esc(), sig_handle_crash(), SIM_mass_spring_solve_velocities(), blender::ed::object::single_obdata_users(), skin_hole_target_face(), softbody_step(), solveDeformableGroupIterations(), solveGroupCacheFriendlySplitImpulseIterations(), solveGroupCacheFriendlySplitImpulseIterations(), btLemkeSolver::solveMLCP(), btSolveProjectedGaussSeidel::solveMLCP(), Freestyle::GeomCleaner::SortAndCompressIndexedVertexArray(), state_link_add(), blender::bke::subdiv::stats_print(), str_ghash_tests(), str_map_tests(), blender::eevee::IrradianceBake::surfels_create(), target_project_edge(), TEST(), btModifiedGramSchmidt< TV >::test(), btReducedVector::test(), blender::bke::tests::test_vec_roll_to_mat3_orthogonal(), btReducedVector::testAdd(), Freestyle::BlenderFileLoader::testDegenerateTriangle(), btReducedVector::testDot(), btReducedVector::testMinus(), btReducedVector::testMultiply(), testTimerProc(), text_blend_read_data(), text_jump_to_file_at_point_exec(), texttool_suggest_add(), blender::io::alembic::AbcMeshReader::topology_changed(), uf_arraystore_compact_with_info(), uf_arraystore_free(), ufopen(), ui_but_anim_decorate_update_from_flag(), ui_but_anim_expression_create(), UI_but_func_search_set(), ui_but_is_rna_valid(), ui_but_menu_step(), UI_context_copy_to_selected_list(), ui_get_radialbut_vec(), ui_handle_button_activate_by_type(), UI_menutype_draw(), ui_multibut_states_apply(), UI_panel_add_instanced(), UI_pie_menu_invoke(), ui_textedit_end(), uiItemSpacer(), uiStyleInit(), uiTemplateCacheFilePointer(), uiTemplateColormanagedViewSettings(), uiTemplateColorspaceSettings(), uiTemplateImage(), uiTemplateLightLinkingCollection(), uiTemplateMarker(), uiTemplateMovieClip(), uiTemplateMovieclipInformation(), uiTemplateTrack(), um_arraystore_compact_with_info(), um_arraystore_free(), undo_read(), unpack_generate_paths(), uopen(), update_hit(), blender::gpu::MTLBufferPool::update_memory_pools(), Vector_richcmpr(), version_legacy_actions_to_layered(), versions_gpencil_add_main(), view2d_totRect_set_resize(), view3d_region_operator_needs_opengl(), view3d_winmatrix_set(), blender::animrig::visualkey_can_use(), blender::draw::volume_grid_cache_get(), walkApply(), walkStacklessQuantizedTreeAgainstRay(), window_display_text(), WM_dropbox_add(), wm_event_do_handlers(), wm_event_do_notifiers(), WM_event_drag_direction(), wm_event_free(), wm_event_get_keymap_from_toolsystem_ex(), WM_event_print(), WM_exit(), WM_exit_ex(), WM_gizmogrouptype_find(), wm_gizmomap_handler_context_op(), WM_gizmotype_find(), wm_handlers_do_keymap_with_gizmo_handler(), wm_homefile_write_exec(), WM_jobs_start(), wm_jobs_test_suspend_stop(), wm_jobs_timer(), wm_keymap_item_find(), wm_keymap_item_find_in_keymap(), wm_main_playanim_intern(), WM_menutype_find(), WM_msg_dump(), WM_paneltype_find(), WM_platform_support_perform_checks(), WM_uilisttype_find(), wm_window_make_drawable(), write_crash_blend(), write_region(), and blender::io::alembic::AbcObjectReader::xform().

◆ PY_DISABLE_AUTO

#define PY_DISABLE_AUTO   ""

Definition at line 940 of file creator_args.cc.

◆ PY_ENABLE_AUTO

#define PY_ENABLE_AUTO   ", (default, non-standard compilation option)"

Definition at line 939 of file creator_args.cc.

Function Documentation

◆ arg_handle_abort_handler_disable()

static int arg_handle_abort_handler_disable ( int ,
const char ** ,
void *  )
static

◆ arg_handle_addons_set()

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

Definition at line 2448 of file creator_args.cc.

References BLI_assert, BLI_snprintf(), BPY_run_string_exec(), data, free(), 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 *  )
static

Definition at line 1565 of file creator_args.cc.

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 ,
const char ** ,
void *  )
static

Definition at line 929 of file creator_args.cc.

Referenced by main_args_setup().

◆ arg_handle_audio_disable()

static int arg_handle_audio_disable ( int ,
const char ** ,
void *  )
static

Definition at line 1846 of file creator_args.cc.

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 *  )
static

Definition at line 1856 of file creator_args.cc.

References BKE_sound_force_device(), and STREQ.

Referenced by main_args_setup().

◆ arg_handle_background_mode_set()

static int arg_handle_background_mode_set ( int ,
const char ** ,
void *  )
static

Definition at line 1059 of file creator_args.cc.

References background_mode_set(), G, and print_version_short().

Referenced by main_args_setup().

◆ arg_handle_command_set()

◆ arg_handle_crash_handler_disable()

static int arg_handle_crash_handler_disable ( int ,
const char ** ,
void *  )
static

◆ arg_handle_debug_exit_on_error()

static int arg_handle_debug_exit_on_error ( int ,
const char ** ,
void *  )
static

◆ arg_handle_debug_fpe_set()

static int arg_handle_debug_fpe_set ( int ,
const char ** ,
void *  )
static

Definition at line 1556 of file creator_args.cc.

References main_signal_setup_fpe().

Referenced by main_args_setup().

◆ arg_handle_debug_gpu_compile_shaders_set()

static int arg_handle_debug_gpu_compile_shaders_set ( int ,
const char ** ,
void *  )
static

Definition at line 1416 of file creator_args.cc.

References G, and G_DEBUG_GPU_COMPILE_SHADERS.

Referenced by main_args_setup().

◆ arg_handle_debug_gpu_renderdoc_set()

static int arg_handle_debug_gpu_renderdoc_set ( int ,
const char ** ,
void *  )
static

Definition at line 1440 of file creator_args.cc.

References G, G_DEBUG_GPU, and G_DEBUG_GPU_RENDERDOC.

Referenced by main_args_setup().

◆ arg_handle_debug_gpu_scope_capture_set()

static int arg_handle_debug_gpu_scope_capture_set ( int argc,
const char ** argv,
void *  )
static

Definition at line 1427 of file creator_args.cc.

References G, and STRNCPY.

Referenced by main_args_setup().

◆ arg_handle_debug_gpu_set()

static int arg_handle_debug_gpu_set ( int ,
const char ** ,
void *  )
static

Definition at line 1404 of file creator_args.cc.

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 ,
const char ** ,
void *  )
static

Definition at line 1336 of file creator_args.cc.

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

Referenced by main_args_setup().

◆ arg_handle_debug_mode_cycles()

static int arg_handle_debug_mode_cycles ( int ,
const char ** ,
void *  )
static

Definition at line 1362 of file creator_args.cc.

References CCL_start_debug_logging().

Referenced by main_args_setup().

◆ arg_handle_debug_mode_generic_set()

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

Definition at line 1318 of file creator_args.cc.

References G, and POINTER_AS_INT.

Referenced by main_args_setup().

◆ arg_handle_debug_mode_io()

static int arg_handle_debug_mode_io ( int ,
const char ** ,
void *  )
static

Definition at line 1327 of file creator_args.cc.

References G, and G_DEBUG_IO.

Referenced by main_args_setup().

◆ arg_handle_debug_mode_libmv()

static int arg_handle_debug_mode_libmv ( int ,
const char ** ,
void *  )
static

Definition at line 1351 of file creator_args.cc.

References libmv_startDebugLogging().

Referenced by main_args_setup().

◆ arg_handle_debug_mode_memory_set()

static int arg_handle_debug_mode_memory_set ( int ,
const char ** ,
void *  )
static

Definition at line 1373 of file creator_args.cc.

References MEM_set_memory_debug.

Referenced by main_args_setup().

◆ arg_handle_debug_mode_set()

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

◆ arg_handle_debug_value_set()

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

Definition at line 1382 of file creator_args.cc.

References G, and parse_int().

Referenced by main_args_setup().

◆ arg_handle_enable_event_simulate()

static int arg_handle_enable_event_simulate ( int ,
const char ** ,
void *  )
static

Definition at line 1589 of file creator_args.cc.

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 *  )
static

Definition at line 1608 of file creator_args.cc.

References BLI_assert_unreachable, and BLI_setenv().

Referenced by main_args_setup().

◆ arg_handle_extension_registration()

static bool arg_handle_extension_registration ( const bool do_register,
const bool all_users )
static

◆ arg_handle_extension_set()

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

Definition at line 2047 of file creator_args.cc.

References CTX_data_scene(), data, DEG_id_tag_update(), ID_RECALC_SYNC_TO_EVAL, and R_EXTENSION.

Referenced by main_args_setup().

◆ arg_handle_factory_startup_set()

static int arg_handle_factory_startup_set ( int ,
const char ** ,
void *  )
static

Definition at line 1579 of file creator_args.cc.

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_gpu_backend_set()

static int arg_handle_gpu_backend_set ( int argc,
const char ** argv,
void *  )
static

◆ arg_handle_image_type_set()

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

◆ arg_handle_internet_allow_set()

static int arg_handle_internet_allow_set ( int ,
const char ** ,
void * data )
static

◆ arg_handle_load_last_file()

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

Definition at line 2567 of file creator_args.cc.

References BLI_listbase_is_empty(), data, RecentFile::filepath, G, and handle_load_file().

Referenced by main_args_setup().

◆ arg_handle_log_file_set()

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

Definition at line 1164 of file creator_args.cc.

References BLI_fopen(), CLG_output_set(), G, 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 *  )
static

Definition at line 1112 of file creator_args.cc.

References CLG_level_set(), G, 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 *  )
static

Definition at line 1197 of file creator_args.cc.

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 ,
const char ** ,
void *  )
static

Definition at line 1144 of file creator_args.cc.

References BLI_system_backtrace(), and CLG_backtrace_fn_set().

Referenced by main_args_setup().

◆ arg_handle_log_show_basename_set()

static int arg_handle_log_show_basename_set ( int ,
const char ** ,
void *  )
static

Definition at line 1135 of file creator_args.cc.

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 ,
const char ** ,
void *  )
static

Definition at line 1155 of file creator_args.cc.

References CLG_output_use_timestamp_set().

Referenced by main_args_setup().

◆ arg_handle_native_pixels_set()

static int arg_handle_native_pixels_set ( int ,
const char ** ,
void *  )
static

Definition at line 1695 of file creator_args.cc.

References WM_init_native_pixels().

Referenced by main_args_setup().

◆ arg_handle_no_window_focus()

static int arg_handle_no_window_focus ( int ,
const char ** ,
void *  )
static

Definition at line 1731 of file creator_args.cc.

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

Definition at line 1888 of file creator_args.cc.

References CTX_data_scene(), data, DEG_id_tag_update(), ID_RECALC_SYNC_TO_EVAL, and STRNCPY.

Referenced by main_args_setup().

◆ arg_handle_playback_mode()

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

Definition at line 1653 of file creator_args.cc.

References G, and WM_main_playanim().

Referenced by main_args_setup().

◆ arg_handle_print_help()

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

Definition at line 913 of file creator_args.cc.

References BLI_assert_unreachable, and print_help().

Referenced by main_args_setup().

◆ arg_handle_print_version()

static int arg_handle_print_version ( int ,
const char ** ,
void *  )
static

Definition at line 625 of file creator_args.cc.

References BLI_assert_unreachable, and print_version_full().

Referenced by main_args_setup().

◆ arg_handle_python_console_run()

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

Definition at line 2386 of file creator_args.cc.

References BPY_run_string_eval(), data, 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 *  )
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 ,
const char ** ,
void * data )
static

Definition at line 953 of file creator_args.cc.

References 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 ,
const char ** ,
void *  )
static

Definition at line 2435 of file creator_args.cc.

References BPY_python_use_system_env().

Referenced by main_args_setup().

◆ arg_handle_quiet_set()

static int arg_handle_quiet_set ( int ,
const char ** ,
void *  )
static

Definition at line 1024 of file creator_args.cc.

References G.

Referenced by main_args_setup().

◆ arg_handle_register_extension()

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

◆ arg_handle_register_extension_all()

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

◆ arg_handle_render_animation()

static int arg_handle_render_animation ( int ,
const char ** ,
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 ,
const char ** ,
void *  )
static

Definition at line 1740 of file creator_args.cc.

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 *  )
static

◆ arg_handle_unregister_extension()

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

◆ arg_handle_unregister_extension_all()

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

◆ arg_handle_verbosity_set()

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

Definition at line 2020 of file creator_args.cc.

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

Referenced by main_args_setup().

◆ arg_handle_window_geometry()

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

Definition at line 1669 of file creator_args.cc.

References 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 ,
const char ** ,
void *  )
static

Definition at line 1722 of file creator_args.cc.

References WM_init_state_maximized_set().

Referenced by main_args_setup().

◆ arg_handle_with_borders()

static int arg_handle_with_borders ( int ,
const char ** ,
void *  )
static

Definition at line 1704 of file creator_args.cc.

References WM_init_state_normal_set().

Referenced by main_args_setup().

◆ arg_handle_without_borders()

static int arg_handle_without_borders ( int ,
const char ** ,
void *  )
static

Definition at line 1713 of file creator_args.cc.

References WM_init_state_fullscreen_set().

Referenced by main_args_setup().

◆ background_mode_set()

static void background_mode_set ( )
static

◆ build_defs_init()

◆ clog_abort_on_error_callback()

static void clog_abort_on_error_callback ( void * fp)
static

Definition at line 1004 of file creator_args.cc.

References BLI_system_backtrace().

Referenced by arg_handle_debug_exit_on_error().

◆ handle_load_file()

static bool handle_load_file ( bContext * C,
const char * filepath_arg,
const bool load_empty_file )
static

◆ help_print_ds_fn()

static void help_print_ds_fn ( void * ds_v,
const char * format,
va_list args )
static

Definition at line 886 of file creator_args.cc.

References BLI_dynstr_vappendf().

Referenced by main_args_help_as_string().

◆ main_arg_deferred_exit_code_set()

static void main_arg_deferred_exit_code_set ( int exit_code)
static

◆ main_arg_deferred_free()

void main_arg_deferred_free ( )

◆ main_arg_deferred_handle()

int main_arg_deferred_handle ( )

Handle an argument which requested deferred evaluation. Needed when arguments which evaluate early need Python to be initialized for example.

Definition at line 502 of file creator_args.cc.

References app_state, BA_ArgCallback_Deferred::argc, BA_ArgCallback_Deferred::argv, BA_ArgCallback_Deferred::data, BA_ArgCallback_Deferred::exit_code, BA_ArgCallback_Deferred::func, and ApplicationState::main_arg_deferred.

Referenced by main().

◆ main_arg_deferred_is_set()

◆ main_arg_deferred_setup()

◆ main_args_handle_load_file()

int main_args_handle_load_file ( int argc,
const char ** argv,
void * data )

Handler for loading blend files.

Note
arguments that cannot be parsed are assumed to be blend files.

Definition at line 2548 of file creator_args.cc.

References data, and handle_load_file().

Referenced by main().

◆ main_args_help_as_string()

static char * main_args_help_as_string ( bool all)
static

◆ main_args_setup()

void main_args_setup ( struct bContext * C,
struct bArgs * ba,
bool all )
Parameters
allWhen enabled, all arguments are initialized even for configurations that don't apply to the current system. Used for documentation (see Python API: bpy.app.help_text(all=True)).

Expand the doc-string from the function.

A version of CB that expands an additional suffix.

A version of CB that uses all, needed when the doc-string depends on build options.

Definition at line 2582 of file creator_args.cc.

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_command_set(), arg_handle_crash_handler_disable(), arg_handle_debug_exit_on_error(), arg_handle_debug_fpe_set(), arg_handle_debug_gpu_compile_shaders_set(), arg_handle_debug_gpu_renderdoc_set(), arg_handle_debug_gpu_scope_capture_set(), arg_handle_debug_gpu_set(), arg_handle_debug_mode_all(), arg_handle_debug_mode_cycles(), arg_handle_debug_mode_generic_set(), arg_handle_debug_mode_io(), arg_handle_debug_mode_libmv(), 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_gpu_backend_set(), arg_handle_image_type_set(), arg_handle_internet_allow_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_quiet_set(), arg_handle_register_extension(), arg_handle_register_extension_all(), arg_handle_render_animation(), arg_handle_render_frame(), arg_handle_scene_set(), arg_handle_start_with_console(), arg_handle_threads_set(), arg_handle_unregister_extension(), arg_handle_unregister_extension_all(), 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(), BPY_python_app_help_text_fn, build_defs_init(), CB, CB_ALL, 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_UID, 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, main_args_help_as_string(), BuildDefs::with_cycles_logging, BuildDefs::with_ffmpeg, BuildDefs::with_freestyle, BuildDefs::with_libmv, BuildDefs::with_renderdoc, and BuildDefs::with_xr_openxr.

Referenced by main(), and main_args_help_as_string().

◆ 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 296 of file creator_args.cc.

References CLAMP, 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 206 of file creator_args.cc.

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 238 of file creator_args.cc.

References CLAMP, 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 366 of file creator_args.cc.

References ELEM, int, len, MEM_freeN(), MEM_mallocN, min, 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 183 of file creator_args.cc.

References 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 145 of file creator_args.cc.

References int, 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 261 of file creator_args.cc.

References int, min, and str.

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

◆ print_help()

◆ print_version_full()

◆ print_version_short()

static void print_version_short ( )
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 995 of file creator_args.cc.

◆ 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 2445 of file creator_args.cc.

◆ 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 1562 of file creator_args.cc.

◆ 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 925 of file creator_args.cc.

◆ 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 1843 of file creator_args.cc.

◆ 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' 'Default' 'SDL' 'OpenAL' 'CoreAudio' 'JACK' 'PulseAudio' 'WASAPI'."

Definition at line 1852 of file creator_args.cc.

◆ arg_handle_background_mode_set_doc

const char arg_handle_background_mode_set_doc[]
static
Initial value:
=
"\n"
"\tRun in background (often used for UI-less rendering).\n"
"\n"
"\tThe audio device is disabled in background-mode by default\n"
"\tand can be re-enabled by passing in '-setaudo Default' afterwards."

Definition at line 1053 of file creator_args.cc.

◆ arg_handle_command_set_doc

const char arg_handle_command_set_doc[]
static
Initial value:
=
"<command>\n"
"\tRun a command which consumes all remaining arguments.\n"
"\tUse '-c help' to list all other commands.\n"
"\tPass '--help' after the command to see its help text.\n"
"\n"
"\tThis implies '--background' mode."

Definition at line 1068 of file creator_args.cc.

◆ 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 986 of file creator_args.cc.

◆ 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 1011 of file creator_args.cc.

◆ 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 1553 of file creator_args.cc.

◆ arg_handle_debug_gpu_compile_shaders_set_doc

const char arg_handle_debug_gpu_compile_shaders_set_doc[]
static
Initial value:
=
"\n"
"\tCompile all statically defined shaders to test platform compatibility."

Definition at line 1413 of file creator_args.cc.

◆ arg_handle_debug_gpu_renderdoc_set_doc

const char arg_handle_debug_gpu_renderdoc_set_doc[]
static
Initial value:
=
"\n"
"\tEnable RenderDoc integration for GPU frame grabbing and debugging."

Definition at line 1437 of file creator_args.cc.

◆ arg_handle_debug_gpu_scope_capture_set_doc

const char arg_handle_debug_gpu_scope_capture_set_doc[]
static
Initial value:
=
"\n"
"\tCapture the GPU commands issued inside the give scope name."

Definition at line 1424 of file creator_args.cc.

◆ 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 1401 of file creator_args.cc.

◆ 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 1333 of file creator_args.cc.

◆ arg_handle_debug_mode_cycles_doc

const char arg_handle_debug_mode_cycles_doc[]
static
Initial value:
=
"\n\t"
"Enable debug messages from Cycles."

Definition at line 1359 of file creator_args.cc.

◆ 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 1290 of file creator_args.cc.

◆ 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 1293 of file creator_args.cc.

◆ 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 1302 of file creator_args.cc.

◆ 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 1305 of file creator_args.cc.

◆ 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 1308 of file creator_args.cc.

◆ 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 1296 of file creator_args.cc.

◆ 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 1299 of file creator_args.cc.

◆ arg_handle_debug_mode_generic_set_doc_depsgraph_uid

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

Definition at line 1311 of file creator_args.cc.

◆ 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 1263 of file creator_args.cc.

◆ arg_handle_debug_mode_generic_set_doc_ffmpeg

const char arg_handle_debug_mode_generic_set_doc_ffmpeg[]
static
Initial value:
=
"\n\t"
"Enable debug messages from FFmpeg library."

Definition at line 1254 of file creator_args.cc.

◆ arg_handle_debug_mode_generic_set_doc_freestyle

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

Definition at line 1257 of file creator_args.cc.

◆ 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 1273 of file creator_args.cc.

◆ 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 1314 of file creator_args.cc.

◆ 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 1266 of file creator_args.cc.

◆ 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 1287 of file creator_args.cc.

◆ 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 1260 of file creator_args.cc.

◆ 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 1276 of file creator_args.cc.

◆ 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 1269 of file creator_args.cc.

◆ arg_handle_debug_mode_generic_set_doc_xr

const char arg_handle_debug_mode_generic_set_doc_xr[]
static
Initial value:
=
"\n\t"
"Enable debug messages for virtual reality contexts.\n"
"\tEnables the OpenXR API validation layer, (OpenXR) debug messages and general information "
"prints."

Definition at line 1279 of file creator_args.cc.

◆ arg_handle_debug_mode_generic_set_doc_xr_time

const char arg_handle_debug_mode_generic_set_doc_xr_time[]
static
Initial value:
=
"\n\t"
"Enable debug messages for virtual reality frame rendering times."

Definition at line 1284 of file creator_args.cc.

◆ 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 1324 of file creator_args.cc.

◆ arg_handle_debug_mode_libmv_doc

const char arg_handle_debug_mode_libmv_doc[]
static
Initial value:
=
"\n\t"
"Enable debug messages from libmv library."

Definition at line 1348 of file creator_args.cc.

◆ 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 1370 of file creator_args.cc.

◆ 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 1230 of file creator_args.cc.

◆ 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 1379 of file creator_args.cc.

◆ 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 1586 of file creator_args.cc.

◆ 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 1906 of file creator_args.cc.

◆ 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
#define STRINGIFY_ARG(x)

Definition at line 1595 of file creator_args.cc.

◆ arg_handle_env_system_set_doc_extensions

const char arg_handle_env_system_set_doc_extensions[]
static
Initial value:
=
"\n\t"
"Set the " STRINGIFY_ARG(BLENDER_SYSTEM_EXTENSIONS) " environment variable."
@ BLENDER_SYSTEM_EXTENSIONS

Definition at line 1604 of file creator_args.cc.

◆ 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 at line 1601 of file creator_args.cc.

◆ 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 at line 1598 of file creator_args.cc.

◆ 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 2044 of file creator_args.cc.

◆ arg_handle_factory_startup_set_doc

const char arg_handle_factory_startup_set_doc[]
static
Initial value:
=
"\n\t"
"Skip reading the '" BLENDER_STARTUP_FILE "' in the users home directory."
#define BLENDER_STARTUP_FILE

Definition at line 1576 of file creator_args.cc.

◆ 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 2222 of file creator_args.cc.

◆ 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 2256 of file creator_args.cc.

◆ 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 2188 of file creator_args.cc.

◆ arg_handle_gpu_backend_set_doc

const char arg_handle_gpu_backend_set_doc[]
static
Initial value:
=
"\n"
"\tForce to use a specific GPU backend. Valid options: "
"."

Definition at line 1456 of file creator_args.cc.

◆ arg_handle_gpu_backend_set_doc_all

const char arg_handle_gpu_backend_set_doc_all[]
static
Initial value:
=
"\n"
"\tForce to use a specific GPU backend. Valid options: "
"'vulkan' (experimental), "
"'metal', "
"'opengl'."

Definition at line 1450 of file creator_args.cc.

◆ 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' 'AVIRAW' 'AVIJPEG' 'PNG' 'BMP' 'HDR' 'TIFF'.\n"
"\n"
"\tFormats that can be compiled into Blender, not available on all systems:\n"
"\t'OPEN_EXR' 'OPEN_EXR_MULTILAYER' 'FFMPEG' 'CINEON' 'DPX' 'JP2' 'WEBP'."

Definition at line 1946 of file creator_args.cc.

◆ arg_handle_internet_allow_set_doc_offline

const char arg_handle_internet_allow_set_doc_offline[]
static
Initial value:
=
"\n\t"
"Disallow internet access, overriding the preference."

Definition at line 968 of file creator_args.cc.

◆ arg_handle_internet_allow_set_doc_online

const char arg_handle_internet_allow_set_doc_online[]
static
Initial value:
=
"\n\t"
"Allow internet access, overriding the preference."

Definition at line 965 of file creator_args.cc.

◆ 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 2564 of file creator_args.cc.

◆ 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 1161 of file creator_args.cc.

◆ 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 1108 of file creator_args.cc.

◆ 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 1187 of file creator_args.cc.

◆ 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 1141 of file creator_args.cc.

◆ 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 1132 of file creator_args.cc.

◆ 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 1152 of file creator_args.cc.

◆ 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 1692 of file creator_args.cc.

◆ 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 1728 of file creator_args.cc.

◆ 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 1873 of file creator_args.cc.

◆ 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 1631 of file creator_args.cc.

◆ 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 907 of file creator_args.cc.

◆ 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 910 of file creator_args.cc.

◆ 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 622 of file creator_args.cc.

◆ 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 2383 of file creator_args.cc.

◆ 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 2402 of file creator_args.cc.

◆ 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 2355 of file creator_args.cc.

◆ 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 2282 of file creator_args.cc.

◆ arg_handle_python_set_doc_disable

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

Definition at line 946 of file creator_args.cc.

◆ 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 at line 943 of file creator_args.cc.

◆ 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 2315 of file creator_args.cc.

◆ 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 2431 of file creator_args.cc.

◆ arg_handle_quiet_set_doc

const char arg_handle_quiet_set_doc[]
static
Initial value:
=
"\n\t"
"Suppress status printing (warnings & errors are still printed)."

Definition at line 1021 of file creator_args.cc.

◆ arg_handle_register_extension_all_doc

const char arg_handle_register_extension_all_doc[]
static
Initial value:
=
"\n\t"
"Register blend-file extension for all users, then exit (Windows & Linux only)."

Definition at line 1789 of file creator_args.cc.

◆ arg_handle_register_extension_doc

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

Definition at line 1771 of file creator_args.cc.

◆ 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 2137 of file creator_args.cc.

◆ 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 2077 of file creator_args.cc.

◆ 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 2161 of file creator_args.cc.

◆ 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 1737 of file creator_args.cc.

◆ 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 to use the systems processor count."
#define BLENDER_MAX_THREADS
Definition BLI_threads.h:20
#define STRINGIFY(x)

Definition at line 1984 of file creator_args.cc.

◆ arg_handle_unregister_extension_all_doc

const char arg_handle_unregister_extension_all_doc[]
static
Initial value:
=
"\n\t"
"Unregister blend-file extension for all users, then exit (Windows & Linux only)."

Definition at line 1825 of file creator_args.cc.

◆ arg_handle_unregister_extension_doc

const char arg_handle_unregister_extension_doc[]
static
Initial value:
=
"\n\t"
"Unregister blend-file extension for current user, then exit (Windows & Linux only)."

Definition at line 1807 of file creator_args.cc.

◆ 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 2017 of file creator_args.cc.

◆ 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 1666 of file creator_args.cc.

◆ arg_handle_window_maximized_doc

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

Definition at line 1719 of file creator_args.cc.

◆ arg_handle_with_borders_doc

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

Definition at line 1701 of file creator_args.cc.

◆ arg_handle_without_borders_doc

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

Definition at line 1710 of file creator_args.cc.