|
Blender V4.5
|
#include <DNA_scene_types.h>
Public Attributes | |
| struct Brush * | brush |
| struct AssetWeakReference * | brush_asset_reference |
| struct Brush * | eraser_brush |
| struct AssetWeakReference * | eraser_brush_asset_reference |
| ToolSystemBrushBindings | tool_brush_bindings |
| struct Palette * | palette |
| struct CurveMapping * | cavity_curve |
| void * | paint_cursor |
| unsigned char | paint_cursor_col [4] |
| int | flags |
| int | num_input_samples_deprecated |
| int | symmetry_flags |
| float | tile_offset [3] |
| char | _pad2 [4] |
| struct Paint_Runtime | runtime |
Definition at line 1065 of file DNA_scene_types.h.
| char Paint::_pad2[4] |
Definition at line 1106 of file DNA_scene_types.h.
| struct Brush* Paint::brush |
The active brush. Possibly null. Possibly stored in a separate Main data-base and not user- counted.
Definition at line 1070 of file DNA_scene_types.h.
Referenced by BKE_paint_brush(), BKE_paint_brush_for_read(), BKE_paint_brush_set(), BKE_paint_brush_set(), BKE_paint_brushes_ensure(), BKE_paint_copy(), paint_brush_set_essentials_reference(), paint_brush_update_from_asset_reference(), scene_foreach_paint(), toolsystem_brush_type_binding_update(), and toolsystem_main_brush_binding_update_from_active().
| struct AssetWeakReference* Paint::brush_asset_reference |
A weak asset reference to the brush, if not NULL. Used to attempt restoring the active brush from the AssetLibrary system, typically on file load.
Definition at line 1077 of file DNA_scene_types.h.
Referenced by BKE_paint_blend_read_data(), BKE_paint_blend_write(), BKE_paint_brush_set(), BKE_paint_brush_set(), BKE_paint_brushes_ensure(), BKE_paint_copy(), BKE_paint_free(), paint_brush_set_essentials_reference(), paint_brush_update_from_asset_reference(), and toolsystem_brush_type_binding_update().
| struct CurveMapping* Paint::cavity_curve |
Cavity curve.
Definition at line 1087 of file DNA_scene_types.h.
Referenced by BKE_paint_blend_read_data(), BKE_paint_blend_write(), BKE_paint_cavity_curve_preset(), BKE_paint_copy(), BKE_paint_free(), BKE_paint_init(), do_version_curvemapping_walker(), and project_state_init().
| struct Brush* Paint::eraser_brush |
Default eraser brush and associated weak reference.
Definition at line 1080 of file DNA_scene_types.h.
Referenced by BKE_paint_brushes_ensure(), BKE_paint_eraser_brush(), BKE_paint_eraser_brush_for_read(), BKE_paint_eraser_brush_set(), paint_eraser_brush_set_essentials_reference(), paint_eraser_brush_set_from_asset_reference(), and scene_foreach_paint().
| struct AssetWeakReference* Paint::eraser_brush_asset_reference |
Definition at line 1081 of file DNA_scene_types.h.
Referenced by BKE_paint_blend_read_data(), BKE_paint_blend_write(), BKE_paint_brushes_ensure(), BKE_paint_copy(), BKE_paint_eraser_brush_set(), BKE_paint_free(), paint_eraser_brush_set_essentials_reference(), and paint_eraser_brush_set_from_asset_reference().
| int Paint::flags |
Enum ePaintFlags.
Definition at line 1094 of file DNA_scene_types.h.
Referenced by BKE_paint_ensure(), BLO_update_defaults_startup_blend(), do_versions_after_linking_280(), blender::ed::sculpt_paint::paint_cursor_is_brush_cursor_enabled(), project_state_init(), sample_color_exec(), sample_color_invoke(), and sample_color_modal().
| int Paint::num_input_samples_deprecated |
Paint stroke can use up to PAINT_MAX_INPUT_SAMPLES inputs to smooth the stroke. This value is deprecated. Refer to the Brush and #UnifiedPaintSetting values instead.
Definition at line 1100 of file DNA_scene_types.h.
Referenced by blo_do_versions_410().
| void* Paint::paint_cursor |
WM Paint cursor.
Definition at line 1090 of file DNA_scene_types.h.
Referenced by BKE_paint_blend_read_data(), ED_paint_cursor_start(), and toggle_paint_cursor().
| unsigned char Paint::paint_cursor_col[4] |
Definition at line 1091 of file DNA_scene_types.h.
Referenced by BKE_paint_init().
| struct Palette* Paint::palette |
Definition at line 1085 of file DNA_scene_types.h.
Referenced by BKE_gpencil_palette_ensure(), BKE_paint_copy(), BKE_paint_palette(), BKE_paint_palette_set(), blender::ui::greasepencil::eyedropper_add_palette_color(), palette_color_add_exec(), palette_color_delete_exec(), palette_color_move_exec(), palette_join_exec(), palette_poll(), palette_sort_exec(), and scene_foreach_paint().
| struct Paint_Runtime Paint::runtime |
Definition at line 1108 of file DNA_scene_types.h.
Referenced by BKE_paint_brush_poll(), BKE_paint_brushes_validate(), BKE_paint_ensure(), BKE_paint_eraser_brush_set(), BKE_paint_free(), BKE_paint_previous_asset_reference_clear(), BKE_paint_previous_asset_reference_set(), BKE_paint_use_unified_color(), blender::ed::sculpt_paint::vwpaint::brush_use_accumulate(), paint_brush_set_default_reference(), paint_brush_set_essentials_reference(), paint_brush_update_from_asset_reference(), paint_eraser_brush_set_essentials_reference(), paint_eraser_brush_set_from_asset_reference(), paint_runtime_init(), and toolsystem_brush_activate_from_toolref_for_object_paint().
| int Paint::symmetry_flags |
Flags used for symmetry.
Definition at line 1103 of file DNA_scene_types.h.
Referenced by blo_do_versions_260(), calc_symmetry_feather(), blender::ed::sculpt_paint::cursor_draw_tiling_preview(), blender::ed::sculpt_paint::do_tiled(), and paint_2d_new_stroke().
| float Paint::tile_offset[3] |
Definition at line 1105 of file DNA_scene_types.h.
Referenced by BKE_sculpt_toolsettings_data_ensure(), blender::ed::sculpt_paint::cursor_draw_tiling_preview(), and blender::ed::sculpt_paint::do_tiled().
| ToolSystemBrushBindings Paint::tool_brush_bindings |
Definition at line 1083 of file DNA_scene_types.h.
Referenced by BKE_paint_blend_read_data(), BKE_paint_blend_write(), BKE_paint_copy(), BKE_paint_free(), toolsystem_brush_activate_from_toolref_for_object_paint(), toolsystem_brush_type_binding_lookup(), toolsystem_brush_type_binding_update(), and toolsystem_main_brush_binding_update_from_active().