Blender V5.0
Paint Struct Reference

#include <DNA_scene_types.h>

Public Attributes

struct Brushbrush
struct AssetWeakReferencebrush_asset_reference
struct Brusheraser_brush
struct AssetWeakReferenceeraser_brush_asset_reference
ToolSystemBrushBindings tool_brush_bindings
struct Palettepalette
struct CurveMappingcavity_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
PaintRuntimeHandleruntime

Detailed Description

Paint Tool Base.

Definition at line 1168 of file DNA_scene_types.h.

Member Data Documentation

◆ _pad

char Paint::_pad[4]

Definition at line 1210 of file DNA_scene_types.h.

◆ brush

◆ brush_asset_reference

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

◆ cavity_curve

◆ curve_visibility_flags

int Paint::curve_visibility_flags

Collapsed state of a given pressure curve See PaintCurveVisibilityFlags

Definition at line 1209 of file DNA_scene_types.h.

◆ eraser_brush

◆ eraser_brush_asset_reference

◆ flags

◆ num_input_samples_deprecated

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

◆ palette

◆ runtime

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

◆ symmetry_flags

◆ tile_offset

◆ tool_brush_bindings

◆ unified_paint_settings


The documentation for this struct was generated from the following file: