|
Blender V5.0
|
#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 |
| int | flags |
| int | num_input_samples_deprecated |
| int | symmetry_flags |
| int | curve_visibility_flags |
| char | _pad [4] |
| float | tile_offset [3] |
| struct UnifiedPaintSettings | unified_paint_settings |
| PaintRuntimeHandle * | runtime |
Definition at line 1168 of file DNA_scene_types.h.
| char Paint::_pad[4] |
Definition at line 1210 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 1175 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 1182 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 1192 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().
| int Paint::curve_visibility_flags |
Collapsed state of a given pressure curve See PaintCurveVisibilityFlags
Definition at line 1209 of file DNA_scene_types.h.
| struct Brush* Paint::eraser_brush |
Default eraser brush and associated weak reference.
Definition at line 1185 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 1186 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 1195 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 1201 of file DNA_scene_types.h.
Referenced by blo_do_versions_410().
| struct Palette* Paint::palette |
Definition at line 1190 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().
| PaintRuntimeHandle* Paint::runtime |
Definition at line 1215 of file DNA_scene_types.h.
Referenced by BKE_paint_blend_read_data(), BKE_paint_brushes_validate(), BKE_paint_can_use_brush(), BKE_paint_copy(), 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_stroke_get_average(), BKE_paint_use_unified_color(), brush_painter_2d_refresh_cache(), brush_strength(), blender::ed::sculpt_paint::vwpaint::brush_use_accumulate(), blender::ed::sculpt_paint::filter::cache_init(), blender::ed::sculpt_paint::do_brush_action(), ED_paint_cursor_start(), blender::ed::object::object_transfer_mode_reposition_view_pivot(), paint_brush_set_default_reference(), paint_brush_set_essentials_reference(), blender::ed::sculpt_paint::paint_brush_stroke_add_step(), paint_brush_update_from_asset_reference(), paint_calculate_rake_rotation(), blender::ed::sculpt_paint::paint_cursor_context_init(), blender::ed::sculpt_paint::paint_cursor_sculpt_session_update_and_init(), blender::ed::sculpt_paint::paint_cursor_update_anchored_location(), blender::ed::sculpt_paint::paint_cursor_update_rake_rotation(), blender::ed::sculpt_paint::paint_draw_2D_view_brush_cursor_default(), paint_eraser_brush_set_essentials_reference(), paint_eraser_brush_set_from_asset_reference(), paint_init_pivot(), blender::ed::sculpt_paint::paint_line_strokes_spacing(), paint_runtime_init(), blender::ed::sculpt_paint::paint_space_stroke(), blender::ed::sculpt_paint::paint_stroke_curve_end(), blender::ed::sculpt_paint::paint_stroke_free(), blender::ed::sculpt_paint::paint_stroke_line_end(), paint_update_brush_rake_rotation(), project_paint_op(), blender::ed::sculpt_paint::remember_stroke_position(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::stroke_done(), blender::ed::sculpt_paint::stroke_done(), toggle_paint_cursor(), toolsystem_brush_activate_from_toolref_for_object_paint(), and blender::ed::sculpt_paint::vwpaint::update_cache_invariants().
| int Paint::symmetry_flags |
Flags used for symmetry.
Definition at line 1204 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 1212 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 1188 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().
| struct UnifiedPaintSettings Paint::unified_paint_settings |
Definition at line 1213 of file DNA_scene_types.h.
Referenced by BKE_paint_blend_read_data(), BKE_paint_blend_write(), BKE_paint_copy(), BKE_paint_free(), BKE_paint_use_unified_color(), blo_update_defaults_paint(), brush_colors_flip_exec(), blender::ed::sculpt_paint::filter::cache_init(), copy_unified_paint_settings(), blender::ed::sculpt_paint::paint_cursor_context_init(), and paint_init_data().