|
Blender V5.3
|
#include <BKE_paint_types.hh>
Inherits blender::blender::NonCopyable, and blender::blender::NonMovable.
Public Member Functions | |
| PaintRuntime () | |
| ~PaintRuntime () | |
| Public Member Functions inherited from blender::blender::NonCopyable | |
| NonCopyable (const NonCopyable &other)=delete | |
| NonCopyable & | operator= (const NonCopyable &other)=delete |
| NonCopyable ()=default | |
| NonCopyable (NonCopyable &&other)=default | |
| NonCopyable & | operator= (NonCopyable &&other)=default |
| Public Member Functions inherited from blender::blender::NonMovable | |
| NonMovable (NonMovable &&other)=delete | |
| NonMovable & | operator= (NonMovable &&other)=delete |
| NonMovable ()=default | |
| NonMovable (const NonMovable &other)=default | |
| NonMovable & | operator= (const NonMovable &other)=default |
Definition at line 100 of file BKE_paint_types.hh.
|
default |
References PaintRuntime().
Referenced by PaintRuntime().
| blender::bke::PaintRuntime::~PaintRuntime | ( | ) |
Definition at line 17 of file paint_runtime.cc.
References previous_active_brush_reference.
Definition at line 144 of file BKE_paint_types.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::paint_cursor_update_anchored_location(), blender::ed::sculpt_paint::paint_draw_cursor_overlay(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), and blender::ed::sculpt_paint::stroke_cache_update().
| int blender::bke::PaintRuntime::anchored_size = 0 |
Definition at line 126 of file BKE_paint_types.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::brush_unprojected_size_update(), blender::ed::sculpt_paint::paint_cursor_update_anchored_location(), blender::ed::sculpt_paint::paint_draw_cursor_overlay(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), and blender::ed::sculpt_paint::stroke_cache_update().
| paint::AssetCategory blender::bke::PaintRuntime::asset_category = paint::AssetCategory::Invalid |
Definition at line 103 of file BKE_paint_types.hh.
Referenced by blender::BKE_paint_copy().
Definition at line 110 of file BKE_paint_types.hh.
Referenced by blender::ed::sculpt_paint::PaintStroke::PaintStroke(), blender::bke::paint::stroke_get_average(), blender::bke::paint::stroke_set_location(), and blender::bke::paint::stroke_track_location().
| int blender::bke::PaintRuntime::average_stroke_counter = 0 |
Definition at line 111 of file BKE_paint_types.hh.
Referenced by blender::ed::sculpt_paint::ensure_valid_pivot(), blender::ed::sculpt_paint::PaintStroke::PaintStroke(), blender::bke::paint::stroke_get_average(), blender::bke::paint::stroke_set_location(), and blender::bke::paint::stroke_track_location().
| float blender::bke::PaintRuntime::brush_rotation = 0.0f |
How much brush should be rotated in the view plane, 0 means x points right, y points up. The convention is that the brush's negative Y axis points in the tangent direction (of the mouse curve, Bezier curve, etc.)
Definition at line 118 of file BKE_paint_types.hh.
Referenced by blender::BKE_brush_sample_tex_3d(), blender::BKE_paint_calculate_rake_rotation(), blender::BKE_paint_update_brush_rake_rotation(), blender::brush_painter_2d_refresh_cache(), blender::ed::sculpt_paint::cursor_space_drawing_setup(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), blender::ed::sculpt_paint::stroke_cache_update(), and blender::ed::sculpt_paint::update_brush_local_mat().
| float blender::bke::PaintRuntime::brush_rotation_sec = 0.0f |
| const ocio::ColorSpace* blender::bke::PaintRuntime::colorspace = nullptr |
Definition at line 165 of file BKE_paint_types.hh.
Referenced by blender::BKE_brush_sample_tex_3d(), and blender::ed::sculpt_paint::PaintStroke::PaintStroke().
| std::unique_ptr<paint::CursorSnapshot> blender::bke::PaintRuntime::cursor_snap |
Definition at line 174 of file BKE_paint_types.hh.
Referenced by blender::BKE_paint_copy().
| bool blender::bke::PaintRuntime::do_linear_conversion = false |
ColorSpace cache to avoid locking up during sampling.
Definition at line 164 of file BKE_paint_types.hh.
Referenced by blender::BKE_brush_sample_tex_3d(), and blender::ed::sculpt_paint::PaintStroke::PaintStroke().
| bool blender::bke::PaintRuntime::draw_anchored = false |
Definition at line 125 of file BKE_paint_types.hh.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::brush_unprojected_size_update(), blender::ed::sculpt_paint::paint_cursor_update_anchored_location(), blender::ed::sculpt_paint::paint_draw_cursor_overlay(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), and blender::ed::sculpt_paint::stroke_cache_update().
| float blender::bke::PaintRuntime::initial_pixel_radius = 0.0f |
Definition at line 151 of file BKE_paint_types.hh.
Referenced by blender::ed::sculpt_paint::stroke_cache_update().
| bool blender::bke::PaintRuntime::initialized = false |
Definition at line 101 of file BKE_paint_types.hh.
Referenced by blender::BKE_paint_copy().
| bool blender::bke::PaintRuntime::last_hit = false |
Definition at line 142 of file BKE_paint_types.hh.
Referenced by blender::ed::sculpt_paint::mesh_cursor_update_and_init().
Store last location of stroke or whether the mesh was hit. Valid only while stroke is active.
Definition at line 141 of file BKE_paint_types.hh.
Referenced by blender::ed::sculpt_paint::mesh_cursor_update_and_init().
Definition at line 106 of file BKE_paint_types.hh.
Referenced by blender::BKE_paint_calculate_rake_rotation(), and blender::ed::sculpt_paint::PaintStroke::modal().
| float blender::bke::PaintRuntime::last_rake_angle = 0.0f |
Definition at line 107 of file BKE_paint_types.hh.
Referenced by blender::BKE_paint_calculate_rake_rotation().
| int blender::bke::PaintRuntime::last_stroke_valid = false |
Definition at line 109 of file BKE_paint_types.hh.
Referenced by blender::ed::sculpt_paint::face_set::change_visibility_exec(), blender::ed::sculpt_paint::ensure_valid_pivot(), blender::paint_init_pivot(), blender::bke::paint::stroke_get_average(), blender::bke::paint::stroke_set_location(), and blender::bke::paint::stroke_track_location().
Position of mouse, used to sample the mask texture.
Definition at line 161 of file BKE_paint_types.hh.
Referenced by blender::BKE_brush_randomize_texture_coords(), and blender::BKE_brush_sample_masktex().
| uint16_t blender::bke::PaintRuntime::ob_mode = 0 |
Definition at line 102 of file BKE_paint_types.hh.
Referenced by blender::BKE_paint_copy(), blender::BKE_paint_ensure(), and blender::ed::sculpt_paint::vwpaint::brush_use_accumulate().
| float blender::bke::PaintRuntime::overlap_factor = 0.0f |
Normalization factor due to accumulated value of curve along spacing. Calculated when brush spacing changes to dampen strength of stroke if space attenuation is used.
Definition at line 133 of file BKE_paint_types.hh.
Referenced by blender::ed::sculpt_paint::brush_strength(), blender::ed::sculpt_paint::PaintStroke::modal(), blender::ed::sculpt_paint::PaintStroke::PaintStroke(), blender::ed::sculpt_paint::image::ops::paint::ExperimentalTexturePaintStroke::update_step(), blender::ed::sculpt_paint::image::ops::paint::ImagePaintStroke::update_step(), and blender::ed::sculpt_paint::image::ops::paint::TexturePaintStroke::update_step().
| paint::eOverlayControlFlags blender::bke::PaintRuntime::overlay_flags = paint::eOverlayControlFlags{} |
Definition at line 170 of file BKE_paint_types.hh.
| void* blender::bke::PaintRuntime::paint_cursor = nullptr |
WM Paint cursor.
Definition at line 168 of file BKE_paint_types.hh.
Referenced by blender::toggle_paint_cursor().
| float blender::bke::PaintRuntime::pixel_radius = 0.0f |
Radius of brush, pre-multiplied with pressure. In case of anchored brushes contains the anchored radius.
Definition at line 150 of file BKE_paint_types.hh.
Referenced by blender::BKE_brush_randomize_texture_coords(), blender::BKE_brush_sample_masktex(), blender::BKE_brush_sample_tex_3d(), blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::image::ops::paint::stroke_cache_update(), and blender::ed::sculpt_paint::stroke_cache_update().
| AssetWeakReference* blender::bke::PaintRuntime::previous_active_brush_reference = nullptr |
Definition at line 104 of file BKE_paint_types.hh.
Referenced by ~PaintRuntime().
| std::unique_ptr<paint::TexSnapshot> blender::bke::PaintRuntime::primary_snap |
Definition at line 172 of file BKE_paint_types.hh.
Referenced by blender::BKE_paint_copy().
| std::unique_ptr<paint::TexSnapshot> blender::bke::PaintRuntime::secondary_snap |
Definition at line 173 of file BKE_paint_types.hh.
Referenced by blender::BKE_paint_copy().
| float blender::bke::PaintRuntime::size_pressure_value = 0.0f |
Evaluated size pressure value
Definition at line 155 of file BKE_paint_types.hh.
Referenced by blender::BKE_brush_sample_masktex(), blender::ed::sculpt_paint::brush_unprojected_size_update(), blender::ed::sculpt_paint::paint_draw_2D_view_brush_cursor_default(), blender::ed::sculpt_paint::paint_draw_cursor_overlay(), and blender::ed::sculpt_paint::paint_draw_tex_overlay().
| float blender::bke::PaintRuntime::start_pixel_radius = 0.0f |
Definition at line 152 of file BKE_paint_types.hh.
Referenced by blender::BKE_brush_sample_masktex(), blender::BKE_brush_sample_tex_3d(), and blender::ed::sculpt_paint::PaintStroke::PaintStroke().
| bool blender::bke::PaintRuntime::stroke_active = false |
Check is there an ongoing stroke right now.
Definition at line 135 of file BKE_paint_types.hh.
Referenced by blender::ed::sculpt_paint::brush_unprojected_size_update(), blender::ed::sculpt_paint::mesh_cursor_update_and_init(), blender::ed::sculpt_paint::paint_cursor_context_init(), blender::ed::sculpt_paint::paint_cursor_update_rake_rotation(), blender::ed::sculpt_paint::paint_draw_2D_view_brush_cursor_default(), blender::ed::sculpt_paint::paint_draw_cursor_overlay(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), and blender::ed::sculpt_paint::PaintStroke::PaintStroke().
Position of mouse, used to sample the texture.
Definition at line 158 of file BKE_paint_types.hh.
Referenced by blender::BKE_brush_randomize_texture_coords(), and blender::BKE_brush_sample_tex_3d().