|
Blender V4.3
|
#include <DNA_brush_types.h>
Definition at line 173 of file DNA_brush_types.h.
| char Brush::_pad1[6] |
Definition at line 301 of file DNA_brush_types.h.
| float Brush::add_col[4] |
| float Brush::alpha |
Opacity.
Definition at line 234 of file DNA_brush_types.h.
Referenced by BKE_brush_alpha_get(), BKE_brush_alpha_set(), gradientVert_update(), blender::ed::greasepencil::grease_pencil_primitive_invoke(), blender::ed::sculpt_paint::greasepencil::EraseOperation::on_stroke_begin(), blender::ed::sculpt_paint::greasepencil::TintOperation::on_stroke_begin(), blender::ed::greasepencil::opacity_from_input_sample(), blender::ed::sculpt_paint::paint::image::PaintingKernel< ImageBuffer >::paint(), blender::ed::sculpt_paint::paint_cursor_draw_main_inactive_cursor(), and blender::ed::sculpt_paint::paint_draw_3D_view_inactive_brush_cursor().
| float Brush::area_radius_factor |
Definition at line 312 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::area_normal_and_center_get_position_radius().
| int Brush::automasking_boundary_edges_propagation_steps |
Definition at line 330 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::auto_mask::boundary_propagation_steps(), blender::ed::sculpt_paint::mask::mask_from_boundary_exec(), blender::ed::sculpt_paint::mask::mask_from_cavity_exec(), and blender::ed::sculpt_paint::auto_mask::needs_factors_cache().
| int Brush::automasking_cavity_blur_steps |
Definition at line 410 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::auto_mask::cache_settings_update(), and blender::ed::sculpt_paint::mask::mask_from_cavity_exec().
| struct CurveMapping* Brush::automasking_cavity_curve |
Definition at line 413 of file DNA_brush_types.h.
Referenced by brush_blend_read_data(), brush_blend_write(), brush_copy_data(), brush_free_data(), blender::ed::sculpt_paint::auto_mask::cache_init(), blender::ed::sculpt_paint::auto_mask::cache_settings_update(), and blender::ed::sculpt_paint::mask::mask_from_cavity_exec().
| float Brush::automasking_cavity_factor |
Definition at line 411 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::auto_mask::cache_settings_update(), and blender::ed::sculpt_paint::mask::mask_from_cavity_exec().
| int Brush::automasking_flags |
Definition at line 329 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::auto_mask::boundary_propagation_steps(), blender::ed::sculpt_paint::auto_mask::cache_settings_update(), blender::ed::sculpt_paint::auto_mask::calc_effective_bits(), blender::ed::sculpt_paint::mask::mask_from_boundary_exec(), blender::ed::sculpt_paint::mask::mask_from_cavity_exec(), and blender::ed::sculpt_paint::auto_mask::mode_enabled().
| float Brush::automasking_start_normal_falloff |
Definition at line 333 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::auto_mask::cache_settings_update().
| float Brush::automasking_start_normal_limit |
Definition at line 332 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::auto_mask::cache_settings_update().
| float Brush::automasking_view_normal_falloff |
Definition at line 335 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::auto_mask::cache_settings_update().
| float Brush::automasking_view_normal_limit |
Definition at line 334 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::auto_mask::cache_settings_update().
| float Brush::autosmooth_factor |
Definition at line 303 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::do_brush_action(), and blender::ed::sculpt_paint::sculpt_needs_connectivity_info().
| short Brush::blend |
Blend mode.
Definition at line 200 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::expand::cache_initial_config_set(), blender::ed::sculpt_paint::color::do_paint_brush_task(), do_projectpaint_thread(), gradientVert_update(), blender::ed::sculpt_paint::paint::image::PaintingKernel< ImageBuffer >::paint(), paint_2d_bucket_fill(), paint_2d_gradient_fill(), paint_2d_new_stroke(), paint_2d_stroke(), paint_proj_stroke_ps(), project_state_init(), vpaint_blend(), and wpaint_blend().
| int Brush::blur_kernel_radius |
Definition at line 392 of file DNA_brush_types.h.
Referenced by paint_new_blur_kernel().
| int Brush::blur_mode |
Definition at line 393 of file DNA_brush_types.h.
Referenced by paint_new_blur_kernel().
| int Brush::boundary_deform_type |
Definition at line 351 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::boundary::do_boundary_brush(), blender::ed::sculpt_paint::boundary::get_mesh_strength(), blender::ed::sculpt_paint::boundary::init_boundary_bmesh(), blender::ed::sculpt_paint::boundary::init_boundary_grids(), and blender::ed::sculpt_paint::boundary::init_boundary_mesh().
| int Brush::boundary_falloff_type |
Definition at line 352 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::boundary::calc_boundary_falloff(), blender::ed::sculpt_paint::boundary::init_falloff_bmesh(), blender::ed::sculpt_paint::boundary::init_falloff_grids(), and blender::ed::sculpt_paint::boundary::init_falloff_mesh().
| float Brush::boundary_offset |
Definition at line 353 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::boundary::data_init_bmesh(), blender::ed::sculpt_paint::boundary::data_init_grids(), and blender::ed::sculpt_paint::boundary::data_init_mesh().
| struct BrushClone Brush::clone |
Definition at line 178 of file DNA_brush_types.h.
Referenced by blender::draw::overlay::MeshUVs::begin_sync(), brush_foreach_id(), brush_make_local(), blender::draw::overlay::MeshUVs::end_sync(), grab_clone_apply(), grab_clone_invoke(), grab_clone_modal(), image_paint_2d_clone_poll(), OVERLAY_edit_uv_cache_init(), and OVERLAY_edit_uv_init().
| float Brush::cloth_constraint_softbody_strength |
Definition at line 366 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cloth::cloth_brush_satisfy_constraints(), and blender::ed::sculpt_paint::cloth::do_cloth_brush().
| float Brush::cloth_damping |
Definition at line 361 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cloth::do_cloth_brush().
| int Brush::cloth_deform_type |
Definition at line 356 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cloth::add_constraints_for_verts(), blender::ed::sculpt_paint::brush_delta_update(), brush_strength(), blender::ed::sculpt_paint::cloth::calc_forces_bmesh(), blender::ed::sculpt_paint::cloth::calc_forces_grids(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::cloth::cloth_brush_apply_brush_foces(), blender::ed::sculpt_paint::cloth::is_cloth_deform_brush(), blender::ed::sculpt_paint::need_delta_for_tip_orientation(), blender::ed::sculpt_paint::need_delta_from_anchored_origin(), blender::ed::sculpt_paint::cloth::plane_falloff_preview_draw(), and blender::ed::sculpt_paint::sculpt_is_grab_tool().
| int Brush::cloth_force_falloff_type |
| float Brush::cloth_mass |
Definition at line 360 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cloth::do_cloth_brush().
| float Brush::cloth_sim_falloff |
Definition at line 364 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cloth::cloth_brush_simulation_falloff_get(), and blender::ed::sculpt_paint::cloth::simulation_limits_draw().
| float Brush::cloth_sim_limit |
Definition at line 363 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cloth::brush_affected_nodes_gather(), blender::ed::sculpt_paint::cloth::cloth_brush_simulation_falloff_get(), blender::ed::sculpt_paint::paint_cursor_cursor_draw_3d_view_brush_cursor_active(), blender::ed::sculpt_paint::cloth::sculpt_cloth_ensure_constraints_in_simulation_area(), and blender::ed::sculpt_paint::cloth::simulation_limits_draw().
| int Brush::cloth_simulation_area_type |
Definition at line 358 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cloth::add_constraints_for_verts(), blender::ed::sculpt_paint::cloth::brush_affected_nodes_gather(), blender::ed::sculpt_paint::cloth::cloth_brush_simulation_falloff_get(), blender::ed::sculpt_paint::cloth::cloth_brush_simulation_location_get(), blender::ed::sculpt_paint::cloth::do_cloth_brush(), blender::ed::sculpt_paint::paint_cursor_cursor_draw_3d_view_brush_cursor_active(), and blender::ed::sculpt_paint::paint_cursor_draw_3d_view_brush_cursor_inactive().
| float Brush::crease_pinch_factor |
Definition at line 309 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::do_snake_hook_brush().
| int Brush::cursor_overlay_alpha |
Definition at line 386 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_draw(), and blender::ed::sculpt_paint::paint_draw_cursor_overlay().
| struct CurveMapping* Brush::curve |
Falloff curve.
Definition at line 180 of file DNA_brush_types.h.
Referenced by BKE_brush_curve_strength(), BKE_brush_gen_radial_control_imbuf(), BKE_paint_invalidate_cursor_overlay(), brush_blend_read_data(), brush_blend_write(), brush_copy_data(), brush_curve_preset_exec(), brush_curve_preset_poll(), brush_free_data(), blender::ed::sculpt_paint::expand::cache_initial_config_set(), blender::ed::sculpt_paint::calc_brush_strength_factors(), blender::ed::sculpt_paint::pose::calc_twist_deform(), blender::ed::sculpt_paint::color::do_paint_brush(), blender::ed::sculpt_paint::greasepencil::WeightPaintOperation::get_brush_settings(), blender::ed::sculpt_paint::greasepencil::init_brush(), blender::ed::sculpt_paint::boundary::init_falloff_bmesh(), blender::ed::sculpt_paint::boundary::init_falloff_grids(), blender::ed::sculpt_paint::boundary::init_falloff_mesh(), blender::ed::sculpt_paint::is_sampled_curve_valid(), blender::ed::sculpt_paint::load_tex_cursor(), blender::ed::sculpt_paint::greasepencil::EraseOperation::on_stroke_begin(), blender::ed::sculpt_paint::greasepencil::TintOperation::on_stroke_begin(), blender::ed::sculpt_paint::paint_stroke_new(), paint_weight_gradient_exec(), radial_control_paint_curve(), blender::ed::sculpt_paint::sample_node_surface_bmesh(), blender::ed::sculpt_paint::sample_node_surface_grids(), blender::ed::sculpt_paint::sample_node_surface_mesh(), blender::ed::sculpt_paint::pose::sculpt_pose_do_translate_deform(), blender::ed::sculpt_paint::smooth_brush_toggle_on(), blender::ed::sculpt_paint::vwpaint::smooth_brush_toggle_on(), and blender::ed::sculpt_paint::update_sampled_curve().
| int Brush::curve_preset |
Definition at line 321 of file DNA_brush_types.h.
Referenced by BKE_brush_curve_strength(), blender::ed::sculpt_paint::calc_brush_strength_factors(), blender::ed::sculpt_paint::load_tex_cursor(), blender::ed::sculpt_paint::sample_node_surface_bmesh(), blender::ed::sculpt_paint::sample_node_surface_grids(), and blender::ed::sculpt_paint::sample_node_surface_mesh().
| char Brush::curves_sculpt_brush_type |
Active curves sculpt brush type (eBrushCurvesSculptType).
Definition at line 300 of file DNA_brush_types.h.
Referenced by BKE_paint_get_brush_type_from_obmode(), BKE_paint_get_brush_type_from_paintmode(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_poll(), blender::ed::sculpt_paint::paint_space_stroke_enabled(), and blender::ed::sculpt_paint::start_brush_operation().
| struct BrushCurvesSculptSettings* Brush::curves_sculpt_settings |
Definition at line 408 of file DNA_brush_types.h.
Referenced by BKE_brush_init_curves_sculpt_settings(), brush_blend_read_data(), brush_blend_write(), brush_copy_data(), brush_free_data(), brush_sculpt_curves_falloff_preset_exec(), brush_sculpt_curves_falloff_preset_poll(), blender::ed::sculpt_paint::min_distance_edit::calculate_points_per_side(), blender::ed::sculpt_paint::CombOperationExecutor::comb_projected(), blender::ed::sculpt_paint::CombOperationExecutor::comb_spherical(), blender::ed::sculpt_paint::AddOperationExecutor::execute(), blender::ed::sculpt_paint::DensityAddOperationExecutor::execute(), blender::ed::sculpt_paint::DensitySubtractOperationExecutor::execute(), blender::ed::sculpt_paint::ScaleCurvesEffect::execute(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_draw(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_invoke(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_modal(), blender::ed::sculpt_paint::new_grow_shrink_operation(), and blender::ed::sculpt_paint::use_add_density_mode().
| float Brush::dash_ratio |
Rate
Definition at line 256 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::paint_brush_stroke_add_step().
| int Brush::dash_samples |
Definition at line 257 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::paint_brush_stroke_add_step().
| int Brush::deform_target |
Definition at line 326 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::pose::calc_bmesh(), blender::ed::sculpt_paint::pose::calc_grids(), blender::ed::sculpt_paint::pose::calc_mesh(), blender::ed::sculpt_paint::boundary::do_boundary_brush(), blender::ed::sculpt_paint::do_brush_action(), and blender::ed::sculpt_paint::cloth::is_cloth_deform_brush().
| float Brush::density |
Density
Definition at line 243 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update().
| float Brush::disconnected_distance_max |
Definition at line 324 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::pose::ik_chain_init().
| int Brush::elastic_deform_type |
Definition at line 337 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::do_elastic_deform_brush().
| float Brush::elastic_deform_volume_preservation |
Definition at line 338 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::do_elastic_deform_brush().
| float Brush::falloff_angle |
Definition at line 279 of file DNA_brush_types.h.
Referenced by vpaint_init_vpaint(), and wpaint_stroke_test_start().
| char Brush::falloff_shape |
Projection shape (sphere, circle).
Definition at line 278 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_bmesh(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_grids(), blender::ed::sculpt_paint::calc_area_normal_and_center_node_mesh(), blender::ed::sculpt_paint::calc_bmesh(), blender::ed::sculpt_paint::calc_brush_plane(), blender::ed::sculpt_paint::calc_faces(), blender::ed::sculpt_paint::calc_factors_common_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_grids(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_mesh(), blender::ed::sculpt_paint::calc_factors_common_grids(), blender::ed::sculpt_paint::calc_factors_common_mesh(), blender::ed::sculpt_paint::calc_factors_common_mesh_indexed(), blender::ed::sculpt_paint::cloth::calc_forces_bmesh(), blender::ed::sculpt_paint::cloth::calc_forces_grids(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::calc_grids(), calculate_average_weight(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::color::do_color_smooth_task(), blender::ed::sculpt_paint::color::do_paint_brush_task(), blender::ed::sculpt_paint::paint::image::do_paint_pixels(), blender::ed::sculpt_paint::color::do_sample_wet_paint_task(), blender::ed::sculpt_paint::color::do_smear_brush_task(), do_vpaint_brush_blur_loops(), do_vpaint_brush_blur_verts(), do_vpaint_brush_smear(), do_wpaint_brush_blur(), do_wpaint_brush_draw(), do_wpaint_brush_smear(), blender::ed::sculpt_paint::dynamic_topology_update(), blender::ed::sculpt_paint::AddOperationExecutor::execute(), blender::ed::sculpt_paint::CombOperationExecutor::execute(), blender::ed::sculpt_paint::CurvesEffectOperationExecutor::execute(), blender::ed::sculpt_paint::DeleteOperationExecutor::execute(), blender::ed::sculpt_paint::DensityAddOperationExecutor::execute(), blender::ed::sculpt_paint::DensitySubtractOperationExecutor::execute(), blender::ed::sculpt_paint::PinchOperationExecutor::execute(), blender::ed::sculpt_paint::PuffOperationExecutor::execute(), blender::ed::sculpt_paint::SelectionPaintOperationExecutor::execute(), blender::ed::sculpt_paint::SmoothOperationExecutor::execute(), blender::ed::sculpt_paint::SnakeHookOperatorExecutor::execute(), blender::ed::sculpt_paint::auto_mask::is_constrained_by_radius(), over_mesh(), blender::ed::sculpt_paint::paint_cursor_draw_3d_view_brush_cursor_inactive(), blender::ed::sculpt_paint::paint_cursor_sculpt_session_update_and_init(), blender::ed::sculpt_paint::pbvh_gather_generic(), blender::ed::sculpt_paint::vwpaint::pbvh_gather_generic(), blender::ed::sculpt_paint::sample_node_surface_bmesh(), blender::ed::sculpt_paint::sample_node_surface_grids(), blender::ed::sculpt_paint::sample_node_surface_mesh(), SCULPT_stroke_get_location(), blender::ed::sculpt_paint::update_sculpt_normal(), and vpaint_do_draw().
| float Brush::fill_threshold |
Definition at line 396 of file DNA_brush_types.h.
Referenced by paint_2d_bucket_fill().
| int Brush::flag |
General purpose flags.
Definition at line 208 of file DNA_brush_types.h.
Referenced by BKE_brush_jitter_pos(), BKE_brush_use_alpha_pressure(), BKE_brush_use_locked_size(), BKE_brush_use_size_pressure(), blender::ed::sculpt_paint::brush_delta_update(), brush_painter_2d_refresh_cache(), blender::ed::greasepencil::brush_radius_at_location(), blender::ed::sculpt_paint::greasepencil::brush_radius_to_pixel_radius(), brush_strength(), blender::ed::sculpt_paint::vwpaint::brush_use_accumulate_ex(), blender::ed::sculpt_paint::calc_bmesh(), blender::ed::sculpt_paint::calc_brush_plane(), blender::ed::sculpt_paint::calc_faces(), blender::ed::sculpt_paint::calc_factors_common_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_bmesh(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_grids(), blender::ed::sculpt_paint::calc_factors_common_from_orig_data_mesh(), blender::ed::sculpt_paint::calc_factors_common_grids(), blender::ed::sculpt_paint::calc_factors_common_mesh(), blender::ed::sculpt_paint::calc_factors_common_mesh_indexed(), blender::ed::sculpt_paint::cloth::calc_forces_bmesh(), blender::ed::sculpt_paint::cloth::calc_forces_grids(), blender::ed::sculpt_paint::cloth::calc_forces_mesh(), blender::ed::sculpt_paint::calc_grids(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::do_clay_strips_brush(), blender::ed::sculpt_paint::do_clay_thumb_brush(), blender::ed::sculpt_paint::color::do_color_smooth_task(), blender::ed::sculpt_paint::do_layer_brush(), blender::ed::sculpt_paint::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::color::do_paint_brush_task(), do_projectpaint_thread(), blender::ed::sculpt_paint::color::do_smear_brush_task(), do_wpaint_brush_blur(), do_wpaint_brush_draw(), blender::ed::sculpt_paint::dynamic_topology_update(), ED_space_image_paint_curve(), blender::ed::sculpt_paint::cloth::ensure_nodes_constraints(), blender::ed::sculpt_paint::AddOperationExecutor::execute(), blender::ed::sculpt_paint::filter_plane_trim_limit_factors(), blender::ed::sculpt_paint::grease_pencil_brush_cursor_draw(), icon_preview_imbuf_from_brush(), blender::ed::sculpt_paint::image_paint_brush_type_raycast_original(), blender::ed::sculpt_paint::image_paint_brush_type_require_inbetween_mouse_events(), initTransInfo(), blender::ed::sculpt_paint::greasepencil::is_brush_inverted(), blender::ed::sculpt_paint::need_delta_from_anchored_origin(), blender::ed::sculpt_paint::new_grow_shrink_operation(), blender::ed::sculpt_paint::new_pinch_operation(), blender::ed::sculpt_paint::new_selection_paint_operation(), blender::ed::sculpt_paint::greasepencil::DrawWeightPaintOperation::on_stroke_begin(), paint_brush_color_get(), blender::ed::sculpt_paint::paint_brush_update(), blender::ed::sculpt_paint::paint_cursor_context_init(), blender::ed::sculpt_paint::paint_cursor_draw_3d_view_brush_cursor_inactive(), blender::ed::sculpt_paint::paint_cursor_update_unprojected_radius(), paint_curve_poll(), blender::ed::sculpt_paint::paint_space_stroke_enabled(), blender::ed::sculpt_paint::paint_space_stroke_spacing(), blender::ed::sculpt_paint::paint_stroke_curve_end(), blender::ed::sculpt_paint::image::ops::paint::paint_stroke_done(), blender::ed::sculpt_paint::paint_stroke_integrate_overlap(), blender::ed::sculpt_paint::paint_stroke_jitter_pos(), blender::ed::sculpt_paint::paint_stroke_line_end(), blender::ed::sculpt_paint::paint_stroke_modal(), blender::ed::sculpt_paint::paint_stroke_new(), blender::ed::sculpt_paint::image::ops::paint::paint_stroke_update_step(), blender::ed::sculpt_paint::paint_stroke_use_dash(), blender::ed::sculpt_paint::paint_stroke_use_jitter(), blender::ed::sculpt_paint::paint_stroke_use_scene_spacing(), blender::ed::sculpt_paint::paint_supports_dynamic_size(), blender::ed::sculpt_paint::paint_supports_dynamic_tex_coords(), blender::ed::sculpt_paint::paint_supports_smooth_stroke(), paint_use_opacity_masking(), project_state_init(), restore_from_undo_step_if_necessary(), blender::ed::sculpt_paint::sample_node_surface_bmesh(), blender::ed::sculpt_paint::sample_node_surface_grids(), blender::ed::sculpt_paint::sample_node_surface_mesh(), SCULPT_brush_plane_offset_get(), blender::ed::sculpt_paint::sculpt_geometry_preview_lines_draw(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), blender::ed::sculpt_paint::dyntopo::stroke_is_dyntopo(), blender::ed::sculpt_paint::vwpaint::test_brush_angle_falloff(), blender::ed::sculpt_paint::image::ops::paint::texture_paint_init(), blender::ed::greasepencil::toggle_weight_tool_direction(), ui_do_but_COLOR(), blender::ed::sculpt_paint::update_sculpt_normal(), blender::ed::sculpt_paint::vwpaint::use_normal(), vpaint_blend(), vpaint_init_vpaint(), and wpaint_stroke_test_start().
| int Brush::flag2 |
Definition at line 209 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cloth::add_constraints_for_verts(), blender::ed::sculpt_paint::area_normal_and_center_get_position_radius(), blender::ed::sculpt_paint::pose::calc_rotate_deform(), blender::ed::sculpt_paint::pose::calc_scale_deform(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::cloth::do_cloth_brush(), blender::ed::sculpt_paint::do_multiplane_scrape_brush(), blender::ed::sculpt_paint::pose::ik_chain_init(), and blender::ed::sculpt_paint::multiplane_scrape_preview_draw().
| float Brush::flow |
Flow
Definition at line 238 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update().
| char Brush::gpencil_brush_type |
Active grease pencil brush type.
Definition at line 292 of file DNA_brush_types.h.
Referenced by BKE_paint_get_brush_type_from_obmode(), BKE_paint_get_brush_type_from_paintmode(), blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::execute(), blender::ed::sculpt_paint::get_stroke_operation(), blender::ed::sculpt_paint::grease_pencil_brush_cursor_draw(), blender::ed::sculpt_paint::grease_pencil_brush_stroke_invoke(), blender::ed::greasepencil::keymap_grease_pencil_brush_stroke_poll(), blender::ed::greasepencil::keymap_grease_pencil_fill_tool_poll(), and blender::ed::sculpt_paint::paint_supports_smooth_stroke().
| char Brush::gpencil_sculpt_brush_type |
Active grease pencil sculpt brush type.
Definition at line 296 of file DNA_brush_types.h.
Referenced by BKE_paint_get_brush_type_from_obmode(), BKE_paint_get_brush_type_from_paintmode(), and blender::ed::sculpt_paint::get_stroke_operation().
| struct BrushGpencilSettings* Brush::gpencil_settings |
Definition at line 407 of file DNA_brush_types.h.
Referenced by BKE_brush_init_gpencil_settings(), BKE_gpencil_brush_material_set(), BKE_grease_pencil_brush_material_get(), BKE_grease_pencil_object_material_ensure_from_active_input_brush(), BKE_grease_pencil_object_material_ensure_from_brush(), BKE_grease_pencil_object_material_from_brush_get(), blender::ed::greasepencil::boundary_to_curves(), brush_blend_read_after_liblink(), brush_blend_read_data(), brush_blend_write(), brush_copy_data(), brush_foreach_id(), brush_free_data(), blender::ed::sculpt_paint::greasepencil::brush_radius(), brush_scale_size_exec(), blender::ed::sculpt_paint::greasepencil::do_vertex_color_fill(), blender::ed::sculpt_paint::greasepencil::do_vertex_color_points(), blender::ed::sculpt_paint::greasepencil::EraseOperationExecutor::execute(), blender::ed::greasepencil::fill_strokes(), blender::ed::sculpt_paint::GreasePencilFillOpData::from_context(), blender::ed::sculpt_paint::greasepencil::get_drawings_for_painting(), blender::ed::sculpt_paint::grease_pencil_apply_fill(), blender::ed::sculpt_paint::grease_pencil_brush_cursor_draw(), blender::ed::sculpt_paint::grease_pencil_fill_init(), blender::ed::sculpt_paint::grease_pencil_fill_invoke(), blender::ed::greasepencil::grease_pencil_primitive_invoke(), blender::ed::sculpt_paint::greasepencil::init_brush(), blender::ed::greasepencil::keymap_grease_pencil_brush_stroke_poll(), blender::ed::greasepencil::keymap_grease_pencil_fill_tool_poll(), blender::ed::sculpt_paint::greasepencil::EraseOperation::on_stroke_begin(), blender::ed::sculpt_paint::greasepencil::PaintOperation::on_stroke_begin(), blender::ed::sculpt_paint::greasepencil::TintOperation::on_stroke_begin(), blender::ed::sculpt_paint::greasepencil::PaintOperation::on_stroke_done(), blender::ed::sculpt_paint::greasepencil::RandomizeOperation::on_stroke_extended(), blender::ed::sculpt_paint::greasepencil::SmoothOperation::on_stroke_extended(), blender::ed::greasepencil::paintmode_toggle_exec(), blender::ed::sculpt_paint::greasepencil::PaintOperationExecutor::PaintOperationExecutor(), blender::ed::greasepencil::process_image(), blender::ed::greasepencil::stroke_trim_execute(), and unpin_file_local_grease_pencil_brush_materials().
| char Brush::gpencil_vertex_brush_type |
Active grease pencil vertex brush type.
Definition at line 294 of file DNA_brush_types.h.
Referenced by BKE_paint_get_brush_type_from_obmode(), BKE_paint_get_brush_type_from_paintmode(), and blender::ed::sculpt_paint::get_stroke_operation().
| char Brush::gpencil_weight_brush_type |
Active grease pencil weight brush type.
Definition at line 298 of file DNA_brush_types.h.
Referenced by BKE_paint_get_brush_type_from_obmode(), BKE_paint_get_brush_type_from_paintmode(), blender::ed::sculpt_paint::get_stroke_operation(), and blender::ed::greasepencil::toggle_weight_tool_direction_poll().
| struct ColorBand* Brush::gradient |
Color gradient.
Definition at line 189 of file DNA_brush_types.h.
Referenced by brush_blend_read_data(), brush_blend_write(), brush_free_data(), blender::ed::sculpt_paint::color::do_paint_brush_task(), do_projectpaint_thread(), paint_2d_gradient_fill(), paint_brush_color_get(), and ui_do_but_COLOR().
| char Brush::gradient_fill_mode |
Source for fill brush color gradient application.
Definition at line 269 of file DNA_brush_types.h.
Referenced by do_projectpaint_thread(), and paint_2d_gradient_fill().
| int Brush::gradient_spacing |
Definition at line 265 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::color::do_paint_brush_task(), and paint_brush_color_get().
| char Brush::gradient_stroke_mode |
Source for stroke color gradient application.
Definition at line 267 of file DNA_brush_types.h.
Referenced by brush_painter_2d_refresh_cache(), blender::ed::sculpt_paint::color::do_paint_brush_task(), and paint_brush_color_get().
| float Brush::hardness |
Hardness
Definition at line 236 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update().
| char Brush::has_unsaved_changes |
Tag to indicate to the user that the brush has been changed since being imported. Only set for brushes that are actually imported (must have ID.lib set). Runtime only.
Definition at line 275 of file DNA_brush_types.h.
Referenced by BKE_brush_tag_unsaved_changes(), blender::ed::sculpt_paint::brush_asset_save_as_exec(), blender::ed::sculpt_paint::brush_asset_save_exec(), and brush_blend_read_data().
| float Brush::height |
Affectable height of brush (layer height for layer tool, i.e.).
Definition at line 317 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::SCULPT_layer_brush_height_preview_draw().
| char Brush::icon_filepath[1024] |
1024 = FILE_MAX.
Definition at line 193 of file DNA_brush_types.h.
Referenced by brush_foreach_path(), and icon_preview_imbuf_from_brush().
| struct ImBuf* Brush::icon_imbuf |
Definition at line 186 of file DNA_brush_types.h.
Referenced by brush_blend_read_data(), brush_copy_data(), brush_free_data(), icon_preview_imbuf_from_brush(), and icon_preview_startjob().
| ID Brush::id |
Definition at line 176 of file DNA_brush_types.h.
Referenced by asset_reference_create_from_brush(), BKE_brush_delete(), BKE_paint_brush_set(), BKE_paint_eraser_brush_set(), blender::ed::sculpt_paint::brush_asset_delete_exec(), blender::ed::sculpt_paint::brush_asset_delete_poll(), blender::ed::sculpt_paint::brush_asset_edit_metadata_exec(), blender::ed::sculpt_paint::brush_asset_edit_metadata_poll(), blender::ed::sculpt_paint::brush_asset_load_preview_exec(), brush_asset_metadata_ensure(), blender::ed::sculpt_paint::brush_asset_revert_exec(), blender::ed::sculpt_paint::brush_asset_revert_poll(), blender::ed::sculpt_paint::brush_asset_save_as_exec(), blender::ed::sculpt_paint::brush_asset_save_exec(), blender::ed::sculpt_paint::brush_asset_save_poll(), brush_blend_write(), brush_copy_data(), brush_init_data(), brush_make_local(), buttons_texture_users_from_context(), icon_preview_imbuf_from_brush(), paint_brush_update_from_asset_reference(), paint_eraser_brush_set_from_asset_reference(), paintcurve_for_brush_add(), toolsystem_main_brush_binding_update_from_active(), and ui_do_but_COLOR().
| char Brush::image_brush_type |
Active image paint brush type.
Definition at line 288 of file DNA_brush_types.h.
Referenced by blender::draw::overlay::MeshUVs::begin_sync(), BKE_paint_get_brush_type_from_obmode(), BKE_paint_get_brush_type_from_paintmode(), brush_colors_flip_poll(), brush_painter_2d_require_imbuf(), brush_painter_imbuf_new(), brush_painter_imbuf_update(), ED_paint_proj_mesh_data_check(), image_paint_2d_clone_poll(), is_cursor_visible(), OVERLAY_edit_uv_init(), paint_2d_new_stroke(), blender::ed::sculpt_paint::paint_cursor_is_brush_cursor_enabled(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), paint_proj_new_stroke(), blender::ed::sculpt_paint::image::ops::paint::paint_stroke_done(), blender::ed::sculpt_paint::image::ops::paint::paint_stroke_update_step(), blender::ed::sculpt_paint::paint_stroke_use_jitter(), blender::ed::sculpt_paint::paint_supports_dynamic_size(), paint_use_opacity_masking(), project_state_init(), and blender::ed::sculpt_paint::image::ops::paint::texture_paint_init().
| int Brush::input_samples |
Number of samples used to smooth the stroke.
Definition at line 213 of file DNA_brush_types.h.
Referenced by BKE_brush_input_samples_get(), and BKE_brush_input_samples_set().
| float Brush::jitter |
Jitter the position of the brush.
Definition at line 218 of file DNA_brush_types.h.
Referenced by BKE_brush_jitter_pos(), and blender::ed::sculpt_paint::paint_stroke_use_jitter().
| int Brush::jitter_absolute |
Absolute jitter in pixels.
Definition at line 220 of file DNA_brush_types.h.
Referenced by BKE_brush_jitter_pos(), and blender::ed::sculpt_paint::paint_stroke_use_jitter().
| struct MTex Brush::mask_mtex |
Definition at line 182 of file DNA_brush_types.h.
Referenced by BKE_brush_color_texture_get(), BKE_brush_mask_texture_get(), BKE_brush_sample_masktex(), BKE_paint_invalidate_overlay_tex(), brush_foreach_id(), brush_gen_texture(), brush_painter_2d_refresh_cache(), brush_painter_2d_require_imbuf(), buttons_texture_users_from_context(), blender::ed::sculpt_paint::load_tex(), paint_brush_exit_tex(), paint_brush_init_tex(), blender::ed::sculpt_paint::paint_brush_update(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), paint_rake_rotation_active(), blender::ed::sculpt_paint::paint_stroke_curve_end(), blender::ed::sculpt_paint::paint_stroke_modal(), paint_update_brush_rake_rotation(), project_state_init(), stencil_control_invoke(), stencil_control_poll(), stencil_fit_image_aspect_exec(), stencil_reset_transform_exec(), stencil_set_target(), and blender::ed::sculpt_paint::stroke_done().
| int Brush::mask_overlay_alpha |
Definition at line 385 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::paint_draw_tex_overlay().
| int Brush::mask_pressure |
Pressure influence for mask.
Definition at line 216 of file DNA_brush_types.h.
Referenced by BKE_brush_sample_masktex(), and brush_painter_2d_refresh_cache().
| float Brush::mask_stencil_dimension[2] |
Definition at line 405 of file DNA_brush_types.h.
Referenced by BKE_brush_sample_masktex(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), stencil_fit_image_aspect_exec(), stencil_reset_transform_exec(), and stencil_set_target().
| float Brush::mask_stencil_pos[2] |
Definition at line 404 of file DNA_brush_types.h.
Referenced by BKE_brush_sample_masktex(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), stencil_reset_transform_exec(), and stencil_set_target().
| char Brush::mask_tool |
Enum eBrushMaskTool, only used if sculpt_brush_type is SCULPT_BRUSH_TYPE_MASK.
Definition at line 290 of file DNA_brush_types.h.
Referenced by brush_strength(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::sculpt_needs_connectivity_info(), blender::ed::sculpt_paint::smooth_brush_toggle_off(), and blender::ed::sculpt_paint::smooth_brush_toggle_on().
| struct MTex Brush::mtex |
Definition at line 181 of file DNA_brush_types.h.
Referenced by BKE_brush_color_texture_get(), BKE_brush_mask_texture_get(), BKE_paint_invalidate_overlay_tex(), brush_foreach_id(), brush_gen_texture(), brush_painter_2d_refresh_cache(), brush_painter_2d_require_imbuf(), brush_painter_imbuf_new(), brush_painter_imbuf_update(), buttons_texture_users_from_context(), blender::ed::sculpt_paint::do_brush_action(), give_current_brush_texture(), blender::ed::sculpt_paint::load_tex(), paint_brush_exit_tex(), paint_brush_init_tex(), blender::ed::sculpt_paint::paint_brush_update(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), paint_rake_rotation_active(), blender::ed::sculpt_paint::paint_stroke_curve_end(), blender::ed::sculpt_paint::paint_stroke_modal(), blender::ed::sculpt_paint::paint_stroke_new(), paint_use_opacity_masking(), project_paint_face_init(), project_paint_uvpixel_init(), project_state_init(), SCULPT_calc_vertex_displacement(), set_current_brush_texture(), stencil_control_invoke(), stencil_control_poll(), stencil_fit_image_aspect_exec(), stencil_reset_transform_exec(), stencil_set_target(), blender::ed::sculpt_paint::stroke_done(), and vpaint_init_vpaint().
| float Brush::multiplane_scrape_angle |
Definition at line 375 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::do_multiplane_scrape_brush().
| float Brush::normal_radius_factor |
Definition at line 311 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::area_normal_and_center_get_normal_radius(), blender::ed::sculpt_paint::area_normal_and_center_get_position_radius(), blender::ed::sculpt_paint::sample_node_surface_bmesh(), blender::ed::sculpt_paint::sample_node_surface_grids(), and blender::ed::sculpt_paint::sample_node_surface_mesh().
| float Brush::normal_weight |
Definition at line 195 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::sculpt_update_cache_invariants().
| short Brush::ob_mode |
eObjectMode: to see if the brush is compatible, use for display only.
Definition at line 202 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::area_normal_and_center_get_normal_radius(), blender::ed::sculpt_paint::area_normal_and_center_get_position_radius(), BKE_brush_add(), BKE_paint_brush_poll(), BKE_paint_brushes_validate(), BKE_paint_eraser_brush_set(), brush_asset_metadata_ensure(), brush_scale_size_exec(), paint_brush_update_from_asset_reference(), and paint_eraser_brush_set_from_asset_reference().
| int Brush::overlay_flags |
Definition at line 221 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::paint_draw_cursor_overlay(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), and blender::ed::sculpt_paint::paint_stroke_new().
| struct PaintCurve* Brush::paint_curve |
Definition at line 190 of file DNA_brush_types.h.
Referenced by brush_foreach_id(), calculateCenterActive(), createTransPaintCurveVerts(), blender::ed::sculpt_paint::paint_draw_curve_cursor(), blender::ed::sculpt_paint::paint_stroke_curve_end(), paintcurve_delete_point_exec(), paintcurve_new_exec(), paintcurve_point_add(), paintcurve_point_select(), paintcurve_slide_invoke(), paintcurve_undosys_poll(), and paintcurve_undosys_step_encode().
| int Brush::paint_flags |
Definition at line 244 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update().
| float Brush::plane_offset |
Offset for plane brushes (clay, flatten, fill, scrape).
Definition at line 263 of file DNA_brush_types.h.
Referenced by SCULPT_brush_plane_offset_get().
| float Brush::plane_trim |
Definition at line 315 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::sculpt_update_cache_invariants().
| int Brush::pose_deform_type |
Definition at line 344 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::pose::brush_num_effective_segments(), and blender::ed::sculpt_paint::pose::do_pose_brush().
| int Brush::pose_ik_segments |
Definition at line 347 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::pose::brush_num_effective_segments().
| float Brush::pose_offset |
Definition at line 345 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::pose::ik_chain_init_topology().
| int Brush::pose_origin_type |
Definition at line 348 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::pose::ik_chain_init().
| int Brush::pose_smooth_iterations |
Definition at line 346 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::pose::pose_brush_init().
| PreviewImage* Brush::preview |
Definition at line 187 of file DNA_brush_types.h.
Referenced by brush_blend_read_data(), brush_blend_write(), brush_copy_data(), and brush_free_data().
| float Brush::rake_factor |
Rake actual data (not texture), used for sculpt.
Definition at line 197 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::brush_delta_update(), and blender::ed::sculpt_paint::brush_needs_rake_rotation().
| float Brush::rate |
Paint operations / second (airbrush).
Definition at line 229 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::paint_stroke_modal().
| float Brush::rgb[3] |
Color.
Definition at line 232 of file DNA_brush_types.h.
Referenced by BKE_brush_color_get(), BKE_brush_color_set(), blender::ed::greasepencil::boundary_to_curves(), brush_colors_flip_exec(), blender::ui::greasepencil::eyedropper_set_brush_color(), blender::ed::sculpt_paint::grease_pencil_brush_cursor_draw(), blender::ed::greasepencil::grease_pencil_primitive_invoke(), and blender::ed::sculpt_paint::greasepencil::PaintOperationExecutor::PaintOperationExecutor().
| int Brush::sampling_flag |
Definition at line 210 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::aa_samples_per_texel_axis().
| char Brush::sculpt_brush_type |
Active sculpt brush type.
Definition at line 282 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cloth::add_constraints_for_verts(), blender::ed::sculpt_paint::area_normal_and_center_get_position_radius(), BKE_brush_has_cube_tip(), BKE_brush_sculpt_has_secondary_color(), BKE_paint_get_brush_type_from_obmode(), BKE_paint_get_brush_type_from_paintmode(), blender::ed::sculpt_paint::cloth::brush_affected_nodes_gather(), blender::ed::sculpt_paint::brush_delta_update(), blender::ed::sculpt_paint::brush_dynamic_size_get(), blender::ed::sculpt_paint::brush_needs_rake_rotation(), brush_strength(), brush_stroke_init(), blender::ed::sculpt_paint::brush_uses_topology_rake(), blender::ed::sculpt_paint::auto_mask::calc_face_factors(), blender::ed::sculpt_paint::auto_mask::calc_grids_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::auto_mask::calc_vert_factors(), blender::ed::sculpt_paint::cloth::cloth_brush_simulation_falloff_get(), blender::ed::sculpt_paint::do_brush_action(), blender::ed::sculpt_paint::dynamic_topology_update(), blender::ed::sculpt_paint::image_paint_brush_type_require_inbetween_mouse_events(), blender::ed::sculpt_paint::image_paint_brush_type_require_location(), image_paint_brush_uses_canvas(), blender::ed::sculpt_paint::cloth::is_cloth_deform_brush(), blender::ed::sculpt_paint::auto_mask::is_constrained_by_radius(), blender::ed::sculpt_paint::mask::mask_from_boundary_exec(), blender::ed::sculpt_paint::mask::mask_from_cavity_exec(), blender::ed::sculpt_paint::need_delta_for_tip_orientation(), blender::ed::sculpt_paint::need_delta_from_anchored_origin(), blender::ed::sculpt_paint::paint_cursor_cursor_draw_3d_view_brush_cursor_active(), blender::ed::sculpt_paint::paint_cursor_draw_3d_view_brush_cursor_inactive(), paint_rake_rotation_spacing(), blender::ed::sculpt_paint::paint_space_stroke_enabled(), blender::ed::sculpt_paint::pbvh_gather_generic(), blender::ed::sculpt_paint::push_undo_nodes(), blender::ed::sculpt_paint::undo::restore_from_undo_step(), restore_from_undo_step_if_necessary(), blender::ed::sculpt_paint::sculpt_brush_needs_normal(), blender::ed::sculpt_paint::sculpt_brush_stroke_invoke(), sculpt_brush_type_name(), SCULPT_brush_type_needs_all_pbvh_nodes(), blender::ed::sculpt_paint::sculpt_is_grab_tool(), blender::ed::sculpt_paint::sculpt_needs_connectivity_info(), sculpt_needs_pbvh_pixels(), SCULPT_stroke_modifiers_check(), blender::ed::sculpt_paint::sculpt_update_cache_invariants(), blender::ed::sculpt_paint::sculpt_update_cache_variants(), blender::ed::sculpt_paint::smooth_brush_toggle_off(), blender::ed::sculpt_paint::smooth_brush_toggle_on(), blender::ed::sculpt_paint::stroke_done(), blender::ed::sculpt_paint::dyntopo::stroke_is_dyntopo(), blender::ed::sculpt_paint::stroke_test_start(), stroke_undo_begin(), stroke_undo_end(), blender::ed::sculpt_paint::stroke_update_step(), and blender::ed::sculpt_paint::update_sculpt_normal().
| int Brush::sculpt_plane |
The direction of movement for sculpt vertices.
Definition at line 260 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::calc_brush_plane(), blender::ed::sculpt_paint::calc_sculpt_normal(), blender::ed::sculpt_paint::do_clay_strips_brush(), blender::ed::sculpt_paint::do_clay_thumb_brush(), and blender::ed::sculpt_paint::do_multiplane_scrape_brush().
| float Brush::secondary_rgb[3] |
Background color.
Definition at line 253 of file DNA_brush_types.h.
Referenced by BKE_brush_secondary_color_get(), and brush_colors_flip_exec().
| float Brush::sharp_threshold |
Definition at line 391 of file DNA_brush_types.h.
Referenced by do_projectpaint_soften(), and do_projectpaint_soften_f().
| int Brush::size |
Brush diameter.
Definition at line 206 of file DNA_brush_types.h.
Referenced by BKE_brush_size_get(), BKE_brush_size_set(), blender::ed::greasepencil::brush_radius_at_location(), blender::ed::sculpt_paint::greasepencil::brush_radius_to_pixel_radius(), brush_scale_size_exec(), blender::ed::sculpt_paint::grease_pencil_brush_cursor_draw(), blender::ed::sculpt_paint::load_tex_cursor(), blender::ed::sculpt_paint::load_tex_cursor_task_cb(), blender::ed::sculpt_paint::greasepencil::EraseOperation::on_stroke_begin(), and blender::ed::sculpt_paint::greasepencil::TintOperation::on_stroke_begin().
| int Brush::slide_deform_type |
Definition at line 381 of file DNA_brush_types.h.
| int Brush::smear_deform_type |
Definition at line 378 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::color::do_smear_brush_task().
| int Brush::smooth_deform_type |
Definition at line 369 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::do_brush_action().
| float Brush::smooth_stroke_factor |
Higher values limit fast changes in the stroke direction.
Definition at line 227 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::paint_smooth_stroke().
| int Brush::smooth_stroke_radius |
Turning radius (in pixels) for smooth stroke.
Definition at line 225 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::paint_smooth_stroke().
| int Brush::snake_hook_deform_type |
Definition at line 341 of file DNA_brush_types.h.
Referenced by SCULPT_brush_type_needs_all_pbvh_nodes().
| int Brush::spacing |
Spacing of paint operations.
Definition at line 223 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::paint_space_stroke_spacing(), blender::ed::sculpt_paint::paint_stroke_integrate_overlap(), and blender::ed::sculpt_paint::greasepencil::PaintOperationExecutor::process_extension_sample().
| float Brush::stencil_dimension[2] |
Definition at line 402 of file DNA_brush_types.h.
Referenced by BKE_brush_sample_tex_3d(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), stencil_fit_image_aspect_exec(), stencil_reset_transform_exec(), and stencil_set_target().
| float Brush::stencil_pos[2] |
Definition at line 401 of file DNA_brush_types.h.
Referenced by BKE_brush_sample_tex_3d(), blender::ed::sculpt_paint::paint_draw_tex_overlay(), stencil_reset_transform_exec(), and stencil_set_target().
| float Brush::sub_col[4] |
Definition at line 399 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::paint_cursor_context_init().
| float Brush::surface_smooth_current_vertex |
Definition at line 371 of file DNA_brush_types.h.
| int Brush::surface_smooth_iterations |
Definition at line 372 of file DNA_brush_types.h.
| float Brush::surface_smooth_shape_preservation |
Definition at line 370 of file DNA_brush_types.h.
| int Brush::texture_overlay_alpha |
Definition at line 384 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::paint_draw_tex_overlay().
| float Brush::texture_sample_bias |
Definition at line 319 of file DNA_brush_types.h.
Referenced by BKE_brush_sample_tex_3d(), blender::ed::sculpt_paint::load_tex_task_cb_ex(), and sculpt_apply_texture().
| float Brush::tilt_strength_factor |
Definition at line 305 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::do_clay_strips_brush(), and SCULPT_tilt_effective_normal_get().
| float Brush::tip_roundness |
Tip Shape
Definition at line 249 of file DNA_brush_types.h.
Referenced by BKE_brush_has_cube_tip(), blender::ed::sculpt_paint::calc_brush_cube_distances(), blender::ed::sculpt_paint::calc_brush_cube_distances(), blender::ed::sculpt_paint::color::do_paint_brush(), and blender::ed::sculpt_paint::color::do_paint_brush_task().
| float Brush::tip_scale_x |
Definition at line 250 of file DNA_brush_types.h.
Referenced by BKE_brush_has_cube_tip(), blender::ed::sculpt_paint::do_clay_strips_brush(), and SCULPT_cube_tip_init().
| struct Brush* Brush::toggle_brush |
Definition at line 184 of file DNA_brush_types.h.
Referenced by brush_foreach_id().
| float Brush::topology_rake_factor |
Definition at line 307 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::brush_uses_topology_rake(), and blender::ed::sculpt_paint::do_brush_action().
| float Brush::unprojected_radius |
Definition at line 388 of file DNA_brush_types.h.
Referenced by BKE_brush_unprojected_radius_get(), BKE_brush_unprojected_radius_set(), blender::ed::greasepencil::brush_radius_at_location(), blender::ed::sculpt_paint::greasepencil::brush_radius_to_pixel_radius(), brush_scale_size_exec(), blender::ed::sculpt_paint::grease_pencil_brush_cursor_draw(), and blender::ed::sculpt_paint::greasepencil::PaintOperation::on_stroke_done().
| char Brush::vertex_brush_type |
Active vertex paint.
Definition at line 284 of file DNA_brush_types.h.
Referenced by BKE_paint_get_brush_type_from_obmode(), BKE_paint_get_brush_type_from_paintmode(), blender::ed::sculpt_paint::vwpaint::brush_use_accumulate_ex(), vpaint_init_vpaint(), vpaint_paint_leaves(), and vpaint_stroke_update_step().
| float Brush::weight |
Brush weight.
Definition at line 204 of file DNA_brush_types.h.
Referenced by BKE_brush_weight_get(), BKE_brush_weight_set(), paint_proj_stroke_ps(), and palette_color_add_exec().
| char Brush::weight_brush_type |
Active weight paint.
Definition at line 286 of file DNA_brush_types.h.
Referenced by BKE_paint_get_brush_type_from_obmode(), BKE_paint_get_brush_type_from_paintmode(), blender::ed::sculpt_paint::vwpaint::brush_use_accumulate_ex(), wpaint_paint_leaves(), and wpaint_stroke_test_start().
| float Brush::wet_mix |
Wet Mix
Definition at line 240 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update().
| float Brush::wet_paint_radius_factor |
Definition at line 313 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::color::do_sample_wet_paint_task().
| float Brush::wet_persistence |
Definition at line 241 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::cache_paint_invariants_update().