|
Blender V4.5
|
#include "DNA_ID.h"#include "DNA_colorband_types.h"#include "DNA_listBase.h"#include "DNA_theme_types.h"#include "DNA_userdef_enums.h"Go to the source code of this file.
Classes | |
| struct | bAddon |
| struct | bPathCompare |
| struct | bUserMenu |
| struct | bUserMenuItem |
| struct | bUserMenuItem_Op |
| struct | bUserMenuItem_Menu |
| struct | bUserMenuItem_Prop |
| struct | bUserAssetLibrary |
| struct | bUserExtensionRepo |
| struct | SolidLight |
| struct | WalkNavigation |
| struct | UserDef_Runtime |
| struct | UserDef_SpaceData |
| struct | UserDef_FileSpaceData |
| struct | UserDef_Experimental |
| struct | bUserScriptDirectory |
| struct | bUserAssetShelfSettings |
| struct | UserDef |
Macros | |
| #define | USER_EXPERIMENTAL_TEST(userdef, member) |
| #define | FRAMENUMBER_MIN_CLAMP(cfra) |
| #define | NDOF_IS_ORBIT_AROUND_CENTER_MODE(userdef) |
| #define | NDOF_PIXELS_PER_SECOND 600.0f |
Variables | |
| UserDef | U |
| #define FRAMENUMBER_MIN_CLAMP | ( | cfra | ) |
Definition at line 716 of file DNA_userdef_types.h.
Referenced by change_frame_apply(), change_frame_apply(), change_frame_apply(), frame_offset_exec(), graphview_cursor_apply(), and previewrange_define_exec().
| #define NDOF_IS_ORBIT_AROUND_CENTER_MODE | ( | userdef | ) |
Some navigation modes make use of "Auto Center" (NDOF_ORBIT_CENTER_AUTO) and some don't. Instead of testing against all possibilities use a macro.
TODO: Add Target Camera Mode when implemented.
Definition at line 1064 of file DNA_userdef_types.h.
Referenced by view3d_draw_region_info().
| #define NDOF_PIXELS_PER_SECOND 600.0f |
Definition at line 1067 of file DNA_userdef_types.h.
| #define USER_EXPERIMENTAL_TEST | ( | userdef, | |
| member ) |
Definition at line 234 of file DNA_userdef_types.h.
Referenced by blender::draw::Manager::compute_visibility(), blender::ed::space_node::draw_nodetree(), ED_node_supports_preview(), ED_paint_shading_color_override(), file_refresh(), get_blend_file_header(), blender::ed::asset::id_type_is_supported(), blender::bke::liboverride::is_auto_resync_enabled(), material_paint_slot_filter(), memfile_undosys_step_decode(), blender::ed::space_node::node_draw_basis(), blender::nodes::node_geo_sample_grid_cc::node_gather_link_search_ops(), blender::nodes::node_geo_sample_grid_index_cc::node_gather_link_search_ops(), blender::ed::space_node::node_is_previewable(), sculpt_needs_pbvh_pixels(), sculpt_update_object(), SCULPT_use_image_paint_brush(), blender::nodes::node_geo_store_named_grid_cc::search_link_ops(), blender::nodes::search_link_ops_for_volume_grid_node(), blender::ed::asset::list::AssetList::setup(), blender::ed::asset::types_supported_as_filter_flags(), write_bhead(), write_file_handle(), writedata(), and writestruct_at_address_nr().
| typedef struct bAddon bAddon |
| typedef struct bPathCompare bPathCompare |
| typedef struct bUserAssetLibrary bUserAssetLibrary |
| typedef struct bUserAssetShelfSettings bUserAssetShelfSettings |
Settings for an asset shelf, stored in the Preferences. Most settings are still stored in the asset shelf instance in AssetShelfSettings. This is just for the options that should be shared as Preferences.
| typedef struct bUserExtensionRepo bUserExtensionRepo |
| typedef struct bUserMenu bUserMenu |
| typedef struct bUserMenuItem_Menu bUserMenuItem_Menu |
| typedef struct bUserMenuItem_Op bUserMenuItem_Op |
| typedef struct bUserMenuItem_Prop bUserMenuItem_Prop |
| typedef struct bUserScriptDirectory bUserScriptDirectory |
Container to store multiple directory paths and a name for each as a ListBase.
Auto-Keying mode. UserDef.autokey_mode
Color Picker Types. UserDef.color_picker_type
Grease Pencil Settings. UserDef.gp_settings
Defines how keyframes are inserted. Used for regular keying and auto-keying. Not all of those flags are stored in the user preferences (U.keying_flag). Some are stored on the scene (toolsettings.keying_flag).
UserDef.ogl_multisamples
| typedef enum eNdof_Flag eNdof_Flag |
UserDef.ndof_flag (3D mouse options)
NDOF Navigation Modes. Each mode describes some style of navigation rather than control a single aspect of navigation.
Text draw options UserDef.text_render
Text Editor options UserDef.text_flag
Time-code display styles. UserDef.timecode_style
The source to use (User or System), only valid when the USER_EXTENSION_REPO_FLAG_USE_REMOTE_URL flag isn't set.
Animation flags UserDef.animation_flag, used for animation flags that aren't covered by more specific flags (like eKeying_Flag).
UserDef_SpaceData.section_active (UI active_section)
UserDef_SpaceData.flag (State of the user preferences UI).
Zoom to frame mode. UserDef.view_frame_type
| typedef struct SolidLight SolidLight |
| typedef struct UserDef UserDef |
Main user preferences data, typically accessed from U. See: BKE_blendfile_userdef_from_defaults & BKE_blendfile_userdef_read.
| typedef struct UserDef_Experimental UserDef_Experimental |
Checking experimental members must use the USER_EXPERIMENTAL_TEST() macro unless the USER_DEVELOPER_UI is known to be enabled.
| typedef struct UserDef_FileSpaceData UserDef_FileSpaceData |
Storage for UI data that to keep it even after the window was closed. (Similar to UserDef_SpaceData.)
| typedef struct UserDef_Runtime UserDef_Runtime |
| typedef struct UserDef_SpaceData UserDef_SpaceData |
Store UI data here instead of the space since the space is typically a window which is freed.
| typedef struct WalkNavigation WalkNavigation |
| anonymous enum |
| Enumerator | |
|---|---|
| USER_MENU_TYPE_SEP | |
| USER_MENU_TYPE_OPERATOR | |
| USER_MENU_TYPE_MENU | |
| USER_MENU_TYPE_PROP | |
Definition at line 76 of file DNA_userdef_types.h.
| anonymous enum |
| Enumerator | |
|---|---|
| USER_GIZMO_DRAW | |
Definition at line 964 of file DNA_userdef_types.h.
| anonymous enum |
| Enumerator | |
|---|---|
| ULANGUAGE_AUTO | |
| ULANGUAGE_ENGLISH | |
Definition at line 1142 of file DNA_userdef_types.h.
| enum eAutokey_Mode |
Auto-Keying mode. UserDef.autokey_mode
| Enumerator | |
|---|---|
| AUTOKEY_ON | |
| AUTOKEY_MODE_NORMAL | AUTOKEY_ON + 2**n... (i.e. AUTOKEY_MODE_NORMAL = AUTOKEY_ON + 2) to preserve setting, even when auto-key turned off. |
| AUTOKEY_MODE_EDITKEYS | |
Definition at line 857 of file DNA_userdef_types.h.
| enum eColorPicker_Types |
Color Picker Types. UserDef.color_picker_type
| Enumerator | |
|---|---|
| USER_CP_CIRCLE_HSV | |
| USER_CP_SQUARE_SV | |
| USER_CP_SQUARE_HS | |
| USER_CP_SQUARE_HV | |
| USER_CP_CIRCLE_HSL | |
Definition at line 972 of file DNA_userdef_types.h.
| enum eGP_UserdefSettings |
Grease Pencil Settings. UserDef.gp_settings
| Enumerator | |
|---|---|
| GP_PAINT_UNUSED_0 | |
Definition at line 960 of file DNA_userdef_types.h.
| enum eImageDrawMethod |
| Enumerator | |
|---|---|
| IMAGE_DRAW_METHOD_AUTO | |
| IMAGE_DRAW_METHOD_GLSL | |
| IMAGE_DRAW_METHOD_2DTEXTURE | |
Definition at line 1079 of file DNA_userdef_types.h.
| enum eKeying_Flag |
Defines how keyframes are inserted. Used for regular keying and auto-keying. Not all of those flags are stored in the user preferences (U.keying_flag). Some are stored on the scene (toolsettings.keying_flag).
Definition at line 885 of file DNA_userdef_types.h.
| enum eKeyInsertChannels |
| Enumerator | |
|---|---|
| USER_ANIM_KEY_CHANNEL_LOCATION | |
| USER_ANIM_KEY_CHANNEL_ROTATION | |
| USER_ANIM_KEY_CHANNEL_SCALE | |
| USER_ANIM_KEY_CHANNEL_ROTATION_MODE | |
| USER_ANIM_KEY_CHANNEL_CUSTOM_PROPERTIES | |
Definition at line 902 of file DNA_userdef_types.h.
| enum eMultiSample_Type |
UserDef.ogl_multisamples
| Enumerator | |
|---|---|
| USER_MULTISAMPLE_NONE | |
| USER_MULTISAMPLE_2 | |
| USER_MULTISAMPLE_4 | |
| USER_MULTISAMPLE_8 | |
| USER_MULTISAMPLE_16 | |
Definition at line 1070 of file DNA_userdef_types.h.
| enum eNdof_Flag |
UserDef.ndof_flag (3D mouse options)
Definition at line 1006 of file DNA_userdef_types.h.
NDOF Navigation Modes. Each mode describes some style of navigation rather than control a single aspect of navigation.
Definition at line 1041 of file DNA_userdef_types.h.
| enum ePathCompare_Flag |
| enum eText_Draw_Options |
Text draw options UserDef.text_render
| Enumerator | |
|---|---|
| USER_TEXT_DISABLE_AA | |
| USER_TEXT_HINTING_NONE | |
| USER_TEXT_HINTING_SLIGHT | |
| USER_TEXT_HINTING_FULL | |
| USER_TEXT_RENDER_SUBPIXELAA | |
Definition at line 946 of file DNA_userdef_types.h.
| enum eTextEdit_Flags |
Text Editor options UserDef.text_flag
| Enumerator | |
|---|---|
| USER_TEXT_EDIT_AUTO_CLOSE | |
Definition at line 938 of file DNA_userdef_types.h.
| enum eTimecodeStyles |
Time-code display styles. UserDef.timecode_style
Definition at line 984 of file DNA_userdef_types.h.
Definition at line 130 of file DNA_userdef_types.h.
The source to use (User or System), only valid when the USER_EXTENSION_REPO_FLAG_USE_REMOTE_URL flag isn't set.
| Enumerator | |
|---|---|
| USER_EXTENSION_REPO_SOURCE_USER | |
| USER_EXTENSION_REPO_SOURCE_SYSTEM | |
Definition at line 144 of file DNA_userdef_types.h.
| enum eUserpref_Anim_Flags |
Animation flags UserDef.animation_flag, used for animation flags that aren't covered by more specific flags (like eKeying_Flag).
| Enumerator | |
|---|---|
| USER_ANIM_SHOW_CHANNEL_GROUP_COLORS | |
| USER_ANIM_ONLY_SHOW_SELECTED_CURVE_KEYS | |
| USER_ANIM_HIGH_QUALITY_DRAWING | |
Definition at line 915 of file DNA_userdef_types.h.
| enum eUserpref_APP_Flag |
| Enumerator | |
|---|---|
| USER_APP_LOCK_CORNER_SPLIT | |
| USER_APP_HIDE_REGION_TOGGLE | |
| USER_APP_LOCK_EDGE_RESIZE | |
Definition at line 837 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_SEQ_DISK_CACHE_COMPRESSION_NONE | |
| USER_SEQ_DISK_CACHE_COMPRESSION_LOW | |
| USER_SEQ_DISK_CACHE_COMPRESSION_HIGH | |
Definition at line 1119 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_EMU_MMB_MOD_ALT | |
| USER_EMU_MMB_MOD_OSKEY | |
Definition at line 1109 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_EXTENSION_FLAG_ONLINE_ACCESS_HANDLED | |
Definition at line 694 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_FACTOR_AS_FACTOR | |
| USER_FACTOR_AS_PERCENTAGE | |
Definition at line 1092 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_FILE_PREVIEW_NONE | |
| USER_FILE_PREVIEW_AUTO | |
| USER_FILE_PREVIEW_SCREENSHOT | |
| USER_FILE_PREVIEW_CAMERA | |
Definition at line 699 of file DNA_userdef_types.h.
| enum eUserPref_Flag |
Definition at line 662 of file DNA_userdef_types.h.
| enum eUserpref_GPU_Flag |
| Enumerator | |
|---|---|
| USER_GPU_FLAG_NO_DEPT_PICK | |
| USER_GPU_FLAG_NO_EDIT_MODE_SMOOTH_WIRE | |
| USER_GPU_FLAG_OVERLAY_SMOOTH_WIRE | |
| USER_GPU_FLAG_SUBDIVISION_EVALUATION | |
| USER_GPU_FLAG_FRESNEL_EDIT | |
Definition at line 808 of file DNA_userdef_types.h.
UserDef.gpu_backend NOTE: Keep in sync with eGPUBackendType.
| Enumerator | |
|---|---|
| USER_GPU_BACKEND_OPENGL | |
| USER_GPU_BACKEND_METAL | |
| USER_GPU_BACKEND_VULKAN | |
| USER_GPU_BACKEND_DEFAULT | |
Definition at line 818 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_MINI_AXIS_TYPE_GIZMO | |
| USER_MINI_AXIS_TYPE_MINIMAL | |
| USER_MINI_AXIS_TYPE_NONE | |
Definition at line 741 of file DNA_userdef_types.h.
| enum eUserPref_PrefFlag |
| Enumerator | |
|---|---|
| USER_PREF_FLAG_SAVE | |
Definition at line 706 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_RENDER_DISPLAY_NONE | |
| USER_RENDER_DISPLAY_SCREEN | |
| USER_RENDER_DISPLAY_AREA | |
| USER_RENDER_DISPLAY_WINDOW | |
Definition at line 1097 of file DNA_userdef_types.h.
| enum eUserPref_Section |
UserDef_SpaceData.section_active (UI active_section)
Definition at line 631 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_SEQ_ED_SIMPLE_TWEAKING | |
| USER_SEQ_ED_CONNECT_STRIPS_BY_DEFAULT | |
Definition at line 1130 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_SEQ_PROXY_SETUP_MANUAL | |
| USER_SEQ_PROXY_SETUP_AUTOMATIC | |
Definition at line 1125 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_SHADER_COMPILE_THREAD | |
| USER_SHADER_COMPILE_SUBPROCESS | |
Definition at line 1135 of file DNA_userdef_types.h.
UserDef_SpaceData.flag (State of the user preferences UI).
| Enumerator | |
|---|---|
| USER_SPACEDATA_INPUT_HIDE_UI_KEYCONFIG | Hide/expand key-map preferences. |
| USER_SPACEDATA_ADDONS_SHOW_ONLY_ENABLED | |
Definition at line 655 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| STATUSBAR_SHOW_MEMORY | |
| STATUSBAR_SHOW_VRAM | |
| STATUSBAR_SHOW_STATS | |
| STATUSBAR_SHOW_VERSION | |
| STATUSBAR_SHOW_SCENE_DURATION | |
| STATUSBAR_SHOW_EXTENSIONS_UPDATES | |
Definition at line 844 of file DNA_userdef_types.h.
| enum eUserpref_TableAPI |
| Enumerator | |
|---|---|
| USER_TABLET_AUTOMATIC | |
| USER_TABLET_NATIVE | |
| USER_TABLET_WINTAB | |
Definition at line 830 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_TEMP_SPACE_DISPLAY_FULLSCREEN | |
| USER_TEMP_SPACE_DISPLAY_WINDOW | |
Definition at line 1104 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_TRACKPAD_SCROLL_DIR_TRADITIONAL | |
| USER_TRACKPAD_SCROLL_DIR_NATURAL | |
Definition at line 1114 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| USER_TR_TOOLTIPS | |
| USER_TR_IFACE | |
| USER_TR_REPORTS | |
| USER_TR_UNUSED_3 | |
| USER_TR_UNUSED_4 | |
| USER_DOTRANSLATE_DEPRECATED | |
| USER_TR_UNUSED_6 | |
| USER_TR_UNUSED_7 | |
| USER_TR_NEWDATANAME | |
Definition at line 922 of file DNA_userdef_types.h.
| enum eUserpref_UI_Flag |
Definition at line 754 of file DNA_userdef_types.h.
| enum eUserpref_UI_Flag2 |
| Enumerator | |
|---|---|
| USER_UIFLAG2_UNUSED_0 | |
| USER_REGION_OVERLAP | |
| USER_UIFLAG2_UNUSED_2 | |
| USER_UIFLAG2_UNUSED_3 | |
Definition at line 800 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| VIRTUAL_PIXEL_NATIVE | |
| VIRTUAL_PIXEL_DOUBLE | |
Definition at line 1086 of file DNA_userdef_types.h.
| Enumerator | |
|---|---|
| VIEW_NAVIGATION_WALK | |
| VIEW_NAVIGATION_FLY | |
Definition at line 735 of file DNA_userdef_types.h.
| enum eViewZoom_Style |
| Enumerator | |
|---|---|
| USER_ZOOM_CONTINUE | Update zoom continuously with a timer while dragging the cursor. |
| USER_ZOOM_SCALE | Map changes in distance from the view center to zoom. |
| USER_ZOOM_DOLLY | Map horizontal/vertical motion to zoom. |
Definition at line 725 of file DNA_userdef_types.h.
| enum eWalkNavigation_Flag |
| Enumerator | |
|---|---|
| USER_WALK_GRAVITY | |
| USER_WALK_MOUSE_REVERSE | |
Definition at line 748 of file DNA_userdef_types.h.
| enum eZoomFrame_Mode |
Zoom to frame mode. UserDef.view_frame_type
| Enumerator | |
|---|---|
| ZOOM_FRAME_MODE_KEEP_RANGE | |
| ZOOM_FRAME_MODE_SECONDS | |
| ZOOM_FRAME_MODE_KEYFRAMES | |
Definition at line 873 of file DNA_userdef_types.h.
|
extern |
From source/blender/blenkernel/intern/blender.cc.
Definition at line 54 of file blender.cc.