Blender
V3.3
|
#include <DNA_brush_types.h>
Definition at line 160 of file DNA_brush_types.h.
char Brush::_pad0[5] |
Definition at line 253 of file DNA_brush_types.h.
char Brush::_pad1[5] |
Definition at line 281 of file DNA_brush_types.h.
float Brush::add_col[4] |
Definition at line 373 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), BKE_brush_sculpt_reset(), blo_do_versions_250(), dyntopo_detail_size_edit_invoke(), gpencil_brush_cursor_draw(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_draw(), and paint_cursor_context_init().
float Brush::alpha |
Opacity.
Definition at line 216 of file DNA_brush_types.h.
Referenced by BKE_brush_alpha_get(), BKE_brush_alpha_set(), BKE_brush_debug_print_state(), BKE_brush_sculpt_reset(), blo_do_versions_250(), blo_do_versions_260(), blo_do_versions_270(), brush_influence_calc(), do_paint_brush_task_cb_ex(), gpencil_brush_influence_calc(), gradientVert_update(), blender::ed::sculpt_paint::paint::image::PaintingKernel< ImageBuffer >::paint(), paint_cursor_draw_main_inactive_cursor(), and paint_draw_3D_view_inactive_brush_cursor().
float Brush::area_radius_factor |
Definition at line 292 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset().
int Brush::automasking_boundary_edges_propagation_steps |
Definition at line 310 of file DNA_brush_types.h.
Referenced by SCULPT_automasking_cache_init(), and SCULPT_automasking_needs_factors_cache().
int Brush::automasking_flags |
Definition at line 309 of file DNA_brush_types.h.
Referenced by sculpt_automasking_mode_effective_bits(), and SCULPT_is_automasking_mode_enabled().
float Brush::autosmooth_factor |
Definition at line 283 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), BKE_brush_sculpt_reset(), do_brush_action(), and sculpt_needs_connectivity_info().
short Brush::blend |
Blend mode.
Definition at line 185 of file DNA_brush_types.h.
Referenced by do_paint_brush_task_cb_ex(), 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(), sculpt_expand_cache_initial_config_set(), vpaint_blend(), and wpaint_blend().
int Brush::blur_kernel_radius |
Definition at line 367 of file DNA_brush_types.h.
Referenced by paint_new_blur_kernel().
int Brush::blur_mode |
Definition at line 368 of file DNA_brush_types.h.
Referenced by paint_new_blur_kernel().
int Brush::boundary_deform_type |
Definition at line 326 of file DNA_brush_types.h.
Referenced by SCULPT_do_boundary_brush().
int Brush::boundary_falloff_type |
Definition at line 327 of file DNA_brush_types.h.
Referenced by SCULPT_boundary_data_init(), and sculpt_boundary_falloff_factor_init().
float Brush::boundary_offset |
Definition at line 328 of file DNA_brush_types.h.
Referenced by SCULPT_boundary_data_init().
struct BrushClone Brush::clone |
Definition at line 161 of file DNA_brush_types.h.
Referenced by brush_blend_read_expand(), brush_blend_read_lib(), brush_foreach_id(), brush_make_local(), grab_clone_apply(), grab_clone_invoke(), grab_clone_modal(), image_paint_2d_clone_poll(), OVERLAY_edit_uv_cache_init(), paint_2d_canvas_free(), paint_2d_canvas_set(), and paint_2d_op().
float Brush::cloth_constraint_softbody_strength |
Definition at line 341 of file DNA_brush_types.h.
Referenced by cloth_brush_satisfy_constraints(), and SCULPT_do_cloth_brush().
float Brush::cloth_damping |
Definition at line 336 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and SCULPT_do_cloth_brush().
int Brush::cloth_deform_type |
Definition at line 331 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), brush_strength(), cloth_brush_apply_brush_foces(), do_cloth_brush_apply_forces_task_cb_ex(), do_cloth_brush_build_constraints_task_cb_ex(), SCULPT_cloth_plane_falloff_preview_draw(), SCULPT_is_cloth_deform_brush(), sculpt_is_grab_tool(), sculpt_needs_delta_for_tip_orientation(), sculpt_needs_delta_from_anchored_origin(), and sculpt_update_brush_delta().
int Brush::cloth_force_falloff_type |
Definition at line 332 of file DNA_brush_types.h.
Referenced by cloth_brush_apply_brush_foces(), do_cloth_brush_apply_forces_task_cb_ex(), do_cloth_brush_build_constraints_task_cb_ex(), and paint_cursor_cursor_draw_3d_view_brush_cursor_active().
float Brush::cloth_mass |
Definition at line 335 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and SCULPT_do_cloth_brush().
float Brush::cloth_sim_falloff |
Definition at line 339 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), cloth_brush_simulation_falloff_get(), and SCULPT_cloth_simulation_limits_draw().
float Brush::cloth_sim_limit |
Definition at line 338 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), cloth_brush_simulation_falloff_get(), paint_cursor_cursor_draw_3d_view_brush_cursor_active(), SCULPT_cloth_brush_affected_nodes_gather(), sculpt_cloth_ensure_constraints_in_simulation_area(), and SCULPT_cloth_simulation_limits_draw().
int Brush::cloth_simulation_area_type |
Definition at line 333 of file DNA_brush_types.h.
Referenced by cloth_brush_simulation_falloff_get(), cloth_brush_simulation_location_get(), do_cloth_brush_build_constraints_task_cb_ex(), paint_cursor_cursor_draw_3d_view_brush_cursor_active(), paint_cursor_draw_3d_view_brush_cursor_inactive(), SCULPT_cloth_brush_affected_nodes_gather(), and SCULPT_do_cloth_brush().
float Brush::crease_pinch_factor |
Definition at line 289 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), blo_do_versions_250(), do_snake_hook_brush_task_cb_ex(), SCULPT_do_crease_brush(), and SCULPT_do_snake_hook_brush().
int Brush::cursor_overlay_alpha |
Definition at line 361 of file DNA_brush_types.h.
Referenced by blo_do_versions_260(), blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_draw(), and paint_draw_cursor_overlay().
struct CurveMapping* Brush::curve |
Falloff curve.
Definition at line 165 of file DNA_brush_types.h.
Referenced by BKE_brush_curve_strength(), BKE_brush_gen_radial_control_imbuf(), BKE_paint_invalidate_cursor_overlay(), blo_do_versions_250(), brush_blend_read_data(), brush_blend_write(), brush_copy_data(), brush_curve_preset_exec(), brush_curve_preset_poll(), brush_free_data(), cloth_brush_apply_brush_foces(), gpencil_sculpt_brush_init(), gpencil_vertexpaint_brush_init(), gpencil_weightpaint_brush_init(), blender::ed::sculpt_paint::is_sampled_curve_valid(), load_tex_cursor(), paint_stroke_new(), paint_weight_gradient_exec(), radial_control_paint_curve(), sculpt_boundary_falloff_factor_init(), SCULPT_do_displacement_eraser_brush(), SCULPT_do_displacement_smear_brush(), SCULPT_do_draw_brush(), SCULPT_do_draw_face_sets_brush(), SCULPT_do_draw_sharp_brush(), SCULPT_do_paint_brush(), SCULPT_do_slide_relax_brush(), SCULPT_do_smear_brush(), sculpt_expand_cache_initial_config_set(), sculpt_pose_do_translate_deform(), sculpt_pose_do_twist_deform(), smooth_brush_toggle_on(), blender::ed::sculpt_paint::update_sampled_curve(), and uv_sculpt_stroke_init().
int Brush::curve_preset |
Definition at line 301 of file DNA_brush_types.h.
Referenced by BKE_brush_curve_strength(), BKE_brush_sculpt_reset(), BKE_gpencil_brush_preset_set(), and load_tex_cursor().
struct BrushCurvesSculptSettings* Brush::curves_sculpt_settings |
Definition at line 383 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(), blender::ed::sculpt_paint::min_distance_edit::calculate_points_per_side(), blender::ed::sculpt_paint::AddOperationExecutor::execute(), blender::ed::sculpt_paint::DensityAddOperationExecutor::execute(), blender::ed::sculpt_paint::DensitySubtractOperationExecutor::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().
char Brush::curves_sculpt_tool |
Active curves sculpt tool (eBrushCurvesSculptTool).
Definition at line 280 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::min_distance_edit::min_distance_edit_poll(), paint_space_stroke_enabled(), and blender::ed::sculpt_paint::start_brush_operation().
float Brush::dash_ratio |
int Brush::dash_samples |
Definition at line 239 of file DNA_brush_types.h.
Referenced by paint_brush_stroke_add_step().
int Brush::deform_target |
Definition at line 306 of file DNA_brush_types.h.
Referenced by do_boundary_brush_bend_task_cb_ex(), do_boundary_brush_grab_task_cb_ex(), do_boundary_brush_inflate_task_cb_ex(), do_boundary_brush_slide_task_cb_ex(), do_boundary_brush_smooth_task_cb_ex(), do_boundary_brush_twist_task_cb_ex(), do_brush_action(), do_pose_brush_task_cb_ex(), sculpt_brush_stroke_init(), and SCULPT_is_cloth_deform_brush().
float Brush::density |
Density
Definition at line 225 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and sculpt_update_cache_paint_variants().
float Brush::disconnected_distance_max |
Definition at line 304 of file DNA_brush_types.h.
Referenced by SCULPT_pose_ik_chain_init().
int Brush::elastic_deform_type |
Definition at line 312 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and do_elastic_deform_brush_task_cb_ex().
float Brush::elastic_deform_volume_preservation |
Definition at line 313 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and do_elastic_deform_brush_task_cb_ex().
float Brush::falloff_angle |
Definition at line 257 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 256 of file DNA_brush_types.h.
Referenced by calc_clay_surface_task_cb(), calc_multiplane_scrape_surface_task_cb(), calc_sculpt_plane(), calculate_average_color(), do_brush_action(), do_crease_brush_task_cb_ex(), do_pinch_brush_task_cb_ex(), do_snake_hook_brush_task_cb_ex(), do_vpaint_brush_blur_loops(), do_vpaint_brush_blur_verts(), do_vpaint_brush_smear(), 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(), paint_cursor_draw_3d_view_brush_cursor_inactive(), paint_cursor_sculpt_session_update_and_init(), sculpt_automasking_is_constrained_by_radius(), SCULPT_calc_brush_plane(), sculpt_pbvh_gather_generic(), SCULPT_stroke_get_location(), sculpt_topology_update(), sculpt_update_brush_delta(), update_sculpt_normal(), vpaint_do_draw(), and vwpaint_pbvh_gather_generic().
float Brush::fill_threshold |
Definition at line 371 of file DNA_brush_types.h.
Referenced by blo_do_versions_270(), and paint_2d_bucket_fill().
int Brush::flag |
General purpose flags.
Definition at line 193 of file DNA_brush_types.h.
Referenced by BKE_brush_jitter_pos(), BKE_brush_sculpt_reset(), BKE_brush_use_alpha_pressure(), BKE_brush_use_locked_size(), BKE_brush_use_size_pressure(), blo_do_versions_250(), blo_do_versions_260(), blo_do_versions_270(), brush_painter_2d_refresh_cache(), brush_smear_apply(), brush_strength(), brush_use_accumulate_ex(), calc_sculpt_plane(), do_brush_action(), do_cloth_brush_build_constraints_task_cb_ex(), do_layer_brush_task_cb_ex(), do_paint_brush_task_cb_ex(), do_projectpaint_thread(), do_smear_brush_task_cb_exec(), do_vpaint_brush_blur_loops(), do_vpaint_brush_blur_verts(), do_vpaint_brush_smear(), do_wpaint_brush_blur_task_cb_ex(), do_wpaint_brush_draw_task_cb_ex(), do_wpaint_brush_smear_task_cb_ex(), ED_space_image_paint_curve(), blender::ed::sculpt_paint::AddOperationExecutor::execute(), frontface(), gpencil_sculpt_brush_apply(), gpencil_sculpt_brush_do_frame(), gpencil_sculpt_brush_do_stroke(), gpencil_vertexpaint_brush_apply(), gpencil_vertexpaint_brush_do_frame(), gpencil_vertexpaint_brush_exit(), gpencil_vertexpaint_select_stroke(), gpencil_weightpaint_brush_apply(), gpencil_weightpaint_brush_do_frame(), gpencil_weightpaint_select_stroke(), icon_preview_imbuf_from_brush(), initTransInfo(), blender::ed::sculpt_paint::new_grow_shrink_operation(), blender::ed::sculpt_paint::new_pinch_operation(), blender::ed::sculpt_paint::new_selection_paint_operation(), paint_2d_do_making_brush(), paint_2d_lift_soften(), paint_brush_color_get(), paint_brush_stroke_add_step(), paint_brush_update(), paint_cursor_context_init(), paint_cursor_draw_3d_view_brush_cursor_inactive(), paint_cursor_update_unprojected_radius(), paint_curve_poll(), paint_space_stroke_enabled(), paint_space_stroke_spacing(), paint_stroke_curve_end(), blender::ed::sculpt_paint::image::ops::paint::paint_stroke_done(), paint_stroke_integrate_overlap(), paint_stroke_line_end(), paint_stroke_modal(), paint_stroke_new(), blender::ed::sculpt_paint::image::ops::paint::paint_stroke_update_step(), paint_stroke_use_dash(), paint_stroke_use_jitter(), paint_stroke_use_scene_spacing(), paint_supports_dynamic_size(), paint_supports_dynamic_tex_coords(), paint_supports_smooth_stroke(), paint_tool_raycast_original(), paint_tool_require_inbetween_mouse_events(), paint_use_opacity_masking(), project_state_init(), SCULPT_brush_plane_offset_get(), SCULPT_calc_brush_plane(), SCULPT_do_clay_strips_brush(), SCULPT_do_clay_thumb_brush(), SCULPT_do_multiplane_scrape_brush(), sculpt_geometry_preview_lines_draw(), sculpt_needs_delta_from_anchored_origin(), SCULPT_plane_trim(), sculpt_restore_mesh(), SCULPT_stroke_is_dynamic_topology(), sculpt_topology_update(), sculpt_update_brush_delta(), sculpt_update_cache_invariants(), sculpt_update_cache_variants(), blender::ed::sculpt_paint::image::ops::paint::texture_paint_init(), ui_do_but_COLOR(), ui_id_brush_get_icon(), update_sculpt_normal(), vpaint_blend(), vpaint_do_draw(), vpaint_init_vpaint(), vwpaint_use_normal(), and wpaint_stroke_test_start().
int Brush::flag2 |
Definition at line 194 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), do_cloth_brush_build_constraints_task_cb_ex(), do_grab_brush_task_cb_ex(), SCULPT_do_cloth_brush(), SCULPT_do_multiplane_scrape_brush(), SCULPT_multiplane_scrape_preview_draw(), sculpt_pose_do_rotate_deform(), sculpt_pose_do_scale_deform(), and SCULPT_pose_ik_chain_init().
float Brush::flow |
Flow
Definition at line 220 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and sculpt_update_cache_paint_variants().
char Brush::gpencil_sculpt_tool |
Active grease pencil sculpt tool.
Definition at line 276 of file DNA_brush_types.h.
Referenced by BKE_gpencil_brush_preset_set(), gpencil_brush_delete_mode_brushes(), gpencil_brush_reset_all_exec(), gpencil_sculpt_brush_apply(), gpencil_sculpt_brush_apply_standard(), gpencil_sculpt_brush_do_frame(), gpencil_sculpt_brush_do_stroke(), gpencil_sculpt_brush_exit(), gpencil_sculpt_brush_init(), gpencil_sculpt_brush_invoke(), and gpencil_stroke_sculptmode_poll_with_tool().
struct BrushGpencilSettings* Brush::gpencil_settings |
Definition at line 382 of file DNA_brush_types.h.
Referenced by BKE_brush_init_gpencil_settings(), BKE_gpencil_brush_material_get(), BKE_gpencil_brush_material_set(), BKE_gpencil_brush_preset_set(), BKE_gpencil_object_material_ensure_from_active_input_brush(), BKE_gpencil_object_material_ensure_from_brush(), BKE_gpencil_object_material_from_brush_get(), BKE_gpencil_object_material_get_index_from_brush(), BLO_update_defaults_startup_blend(), brush_average_apply(), brush_blend_read_data(), brush_blend_read_expand(), brush_blend_read_lib(), brush_blend_write(), brush_blur_apply(), brush_copy_data(), brush_foreach_id(), brush_free_data(), brush_influence_calc(), brush_scale_size_exec(), brush_smear_apply(), brush_tint_apply(), do_versions_after_linking_280(), ED_gpencil_add_defaults(), ED_gpencil_fill_vertex_color_set(), ED_gpencil_init_random_settings(), ED_gpencil_point_vertex_color_set(), ED_gpencil_sbuffer_vertex_color_set(), get_automasking_strokes_list(), gpencil_add_arc_points(), gpencil_add_fake_points(), gpencil_brush_angle(), gpencil_brush_angle_segment(), gpencil_brush_cursor_draw(), gpencil_brush_ensure(), gpencil_brush_influence_calc(), gpencil_brush_invert_check(), gpencil_brush_randomize_apply(), gpencil_brush_reset_exec(), gpencil_brush_smooth_apply(), gpencil_create_extensions(), gpencil_draw_apply(), gpencil_draw_datablock(), gpencil_fill_invoke(), gpencil_fill_modal(), gpencil_get_default_eraser(), gpencil_get_outline_points(), gpencil_init_drawing_brush(), gpencil_paintmode_toggle_exec(), gpencil_prepare_stroke(), gpencil_primitive_init(), gpencil_primitive_interaction_end(), gpencil_primitive_set_initdata(), gpencil_primitive_strength(), gpencil_primitive_update_strokes(), gpencil_sbuffer_vertex_color_random(), gpencil_sculpt_brush_apply(), gpencil_sculpt_brush_apply_event(), gpencil_sculpt_brush_do_frame(), gpencil_sculpt_brush_exit(), gpencil_sculpt_brush_init(), gpencil_session_init_fill(), gpencil_session_validatebuffer(), gpencil_stroke_addpoint(), gpencil_stroke_doeraser(), gpencil_stroke_eraser_calc_influence(), gpencil_stroke_eraser_dostroke(), gpencil_stroke_filtermval(), gpencil_stroke_from_buffer(), gpencil_stroke_newfrombuffer(), gpencil_stroke_paintmode_poll_with_tool(), gpencil_stroke_sculptmode_poll_with_tool(), gpencil_stroke_vertexmode_poll_with_tool(), gpencil_stroke_weightmode_poll_with_tool(), gpencil_zoom_level_set(), and ui_id_brush_get_icon().
char Brush::gpencil_tool |
Active grease pencil tool.
Definition at line 272 of file DNA_brush_types.h.
Referenced by BKE_gpencil_brush_preset_set(), gpencil_add_fake_points(), gpencil_brush_cursor_draw(), gpencil_brush_delete_mode_brushes(), gpencil_brush_reset_all_exec(), gpencil_draw_apply(), gpencil_draw_apply_event(), gpencil_draw_init(), gpencil_draw_modal(), gpencil_get_default_eraser(), gpencil_init_drawing_brush(), gpencil_stroke_doeraser(), gpencil_stroke_paintmode_poll_with_tool(), and gpencil_vertexpaint_brush_do_frame().
char Brush::gpencil_vertex_tool |
Active grease pencil vertex tool.
Definition at line 274 of file DNA_brush_types.h.
Referenced by BKE_gpencil_brush_preset_set(), gpencil_brush_delete_mode_brushes(), gpencil_brush_reset_all_exec(), gpencil_stroke_vertexmode_poll_with_tool(), and gpencil_vertexpaint_brush_do_frame().
char Brush::gpencil_weight_tool |
Active grease pencil weight tool.
Definition at line 278 of file DNA_brush_types.h.
Referenced by BKE_gpencil_brush_preset_set(), gpencil_brush_delete_mode_brushes(), gpencil_brush_reset_all_exec(), gpencil_stroke_weightmode_poll_with_tool(), and gpencil_weightpaint_brush_do_frame().
struct ColorBand* Brush::gradient |
Color gradient.
Definition at line 174 of file DNA_brush_types.h.
Referenced by brush_blend_read_data(), brush_blend_write(), brush_free_data(), do_paint_brush_task_cb_ex(), do_projectpaint_thread(), paint_2d_gradient_fill(), paint_brush_color_get(), and ui_do_but_COLOR().
char Brush::gradient_fill_mode |
Source for fill tool color gradient application.
Definition at line 251 of file DNA_brush_types.h.
Referenced by do_projectpaint_thread(), and paint_2d_gradient_fill().
int Brush::gradient_spacing |
Definition at line 247 of file DNA_brush_types.h.
Referenced by do_paint_brush_task_cb_ex(), and paint_brush_color_get().
char Brush::gradient_stroke_mode |
Source for stroke color gradient application.
Definition at line 249 of file DNA_brush_types.h.
Referenced by brush_painter_2d_refresh_cache(), do_paint_brush_task_cb_ex(), and paint_brush_color_get().
float Brush::hardness |
Hardness
Definition at line 218 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and sculpt_update_cache_paint_variants().
float Brush::height |
Affectable height of brush (layer height for layer tool, i.e.).
Definition at line 297 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), blo_do_versions_250(), do_layer_brush_task_cb_ex(), and SCULPT_layer_brush_height_preview_draw().
char Brush::icon_filepath[1024] |
1024 = FILE_MAX.
Definition at line 178 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 171 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 161 of file DNA_brush_types.h.
Referenced by BKE_brush_add_gpencil(), BKE_brush_delete(), BKE_paint_init(), BKE_paint_toolslots_brush_update_ex(), BKE_paint_toolslots_brush_validate(), blo_do_versions_250(), blo_do_versions_260(), blo_do_versions_270(), BLO_update_defaults_startup_blend(), brush_add_exec(), brush_add_gpencil_exec(), brush_blend_read_lib(), brush_blend_write(), brush_copy_data(), brush_generic_tool_set(), brush_init_data(), brush_make_local(), brush_tool_cycle(), buttons_texture_users_from_context(), gpencil_brush_delete_mode_brushes(), gpencil_brush_get_first_by_mode(), gpencil_sculpt_brush_header_set(), icon_preview_imbuf_from_brush(), smooth_brush_toggle_on(), ui_do_but_COLOR(), and ui_id_brush_get_icon().
char Brush::imagepaint_tool |
Active image paint tool.
Definition at line 268 of file DNA_brush_types.h.
Referenced by 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(), paint_2d_new_stroke(), paint_cursor_is_brush_cursor_enabled(), 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(), paint_stroke_use_jitter(), paint_supports_dynamic_size(), paint_use_opacity_masking(), project_state_init(), and blender::ed::sculpt_paint::image::ops::paint::texture_paint_init().
float Brush::jitter |
Jitter the position of the brush.
Definition at line 200 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), BKE_brush_jitter_pos(), and paint_stroke_use_jitter().
int Brush::jitter_absolute |
Absolute jitter in pixels.
Definition at line 202 of file DNA_brush_types.h.
Referenced by BKE_brush_jitter_pos(), and paint_stroke_use_jitter().
struct MTex Brush::mask_mtex |
Definition at line 165 of file DNA_brush_types.h.
Referenced by BKE_brush_sample_masktex(), BKE_paint_invalidate_overlay_tex(), blo_do_versions_250(), blo_do_versions_260(), blo_do_versions_270(), brush_blend_read_expand(), brush_blend_read_lib(), brush_foreach_id(), brush_gen_texture(), brush_painter_2d_refresh_cache(), brush_painter_2d_require_imbuf(), buttons_texture_users_from_context(), load_tex(), paint_brush_exit_tex(), paint_brush_init_tex(), paint_brush_update(), paint_calculate_rake_rotation(), paint_draw_tex_overlay(), paint_stroke_curve_end(), 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 stroke_done().
int Brush::mask_overlay_alpha |
Definition at line 360 of file DNA_brush_types.h.
Referenced by blo_do_versions_260(), and paint_draw_tex_overlay().
int Brush::mask_pressure |
Pressure influence for mask.
Definition at line 198 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 380 of file DNA_brush_types.h.
Referenced by BKE_brush_sample_masktex(), blo_do_versions_260(), 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 379 of file DNA_brush_types.h.
Referenced by BKE_brush_sample_masktex(), blo_do_versions_260(), paint_draw_tex_overlay(), stencil_reset_transform_exec(), and stencil_set_target().
char Brush::mask_tool |
Enum eBrushMaskTool, only used if sculpt_tool is SCULPT_TOOL_MASK.
Definition at line 270 of file DNA_brush_types.h.
Referenced by brush_strength(), SCULPT_do_mask_brush(), sculpt_needs_connectivity_info(), smooth_brush_toggle_off(), and smooth_brush_toggle_on().
struct MTex Brush::mtex |
Definition at line 165 of file DNA_brush_types.h.
Referenced by BKE_brush_sample_masktex(), BKE_brush_sample_tex_3d(), BKE_paint_invalidate_overlay_tex(), blo_do_versions_250(), blo_do_versions_260(), blo_do_versions_270(), brush_blend_read_expand(), brush_blend_read_lib(), brush_foreach_id(), brush_gen_texture(), brush_painter_2d_refresh_cache(), brush_painter_2d_require_imbuf(), buttons_texture_users_from_context(), calc_brush_local_mat(), do_brush_action(), do_projectpaint_thread(), give_current_brush_texture(), load_tex(), ntreeTexExecTree(), paint_and_tex_color_alpha_intern(), paint_brush_exit_tex(), paint_brush_init_tex(), paint_brush_update(), paint_calculate_rake_rotation(), paint_draw_tex_overlay(), paint_stroke_curve_end(), paint_stroke_modal(), paint_stroke_new(), paint_update_brush_rake_rotation(), paint_use_opacity_masking(), project_paint_face_init(), project_paint_uvpixel_init(), project_state_init(), sculpt_brush_exit_tex(), sculpt_brush_init_tex(), sculpt_brush_needs_normal(), SCULPT_brush_strength_factor(), sculpt_expand_cache_initial_config_set(), sculpt_expand_falloff_value_vertex_get(), sculpt_expand_max_vertex_falloff_get(), sculpt_expand_modal(), sculpt_fix_noise_tear(), set_current_brush_texture(), stencil_control_invoke(), stencil_control_poll(), stencil_fit_image_aspect_exec(), stencil_reset_transform_exec(), stencil_set_target(), stroke_done(), and vpaint_init_vpaint().
float Brush::multiplane_scrape_angle |
Definition at line 350 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and SCULPT_do_multiplane_scrape_brush().
float Brush::normal_radius_factor |
Definition at line 291 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), calc_clay_surface_task_cb(), and calc_multiplane_scrape_surface_task_cb().
float Brush::normal_weight |
Definition at line 180 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), and sculpt_update_cache_invariants().
short Brush::ob_mode |
eObjectMode: to see if the brush is compatible, use for display only.
Definition at line 187 of file DNA_brush_types.h.
Referenced by BKE_brush_add(), BKE_brush_first_search(), BKE_paint_toolslots_brush_validate(), blo_do_versions_250(), blo_do_versions_260(), blo_do_versions_270(), BLO_update_defaults_startup_blend(), brush_tool_cycle(), and gpencil_brush_ensure().
int Brush::overlay_flags |
Definition at line 203 of file DNA_brush_types.h.
Referenced by blo_do_versions_260(), paint_draw_cursor_overlay(), paint_draw_tex_overlay(), and paint_stroke_new().
struct PaintCurve* Brush::paint_curve |
Definition at line 175 of file DNA_brush_types.h.
Referenced by BKE_paint_curve_set(), brush_blend_read_expand(), brush_blend_read_lib(), brush_foreach_id(), calculateCenterActive(), createTransPaintCurveVerts(), paint_draw_curve_cursor(), 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 226 of file DNA_brush_types.h.
Referenced by sculpt_update_cache_paint_variants().
float Brush::plane_offset |
Offset for plane brushes (clay, flatten, fill, scrape).
Definition at line 245 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), and SCULPT_brush_plane_offset_get().
float Brush::plane_trim |
Definition at line 295 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), blo_do_versions_250(), and sculpt_update_cache_invariants().
int Brush::pose_deform_type |
Definition at line 319 of file DNA_brush_types.h.
Referenced by pose_brush_num_effective_segments(), and SCULPT_do_pose_brush().
int Brush::pose_ik_segments |
Definition at line 322 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and pose_brush_num_effective_segments().
float Brush::pose_offset |
Definition at line 320 of file DNA_brush_types.h.
Referenced by pose_ik_chain_init_topology().
int Brush::pose_origin_type |
Definition at line 323 of file DNA_brush_types.h.
Referenced by SCULPT_pose_ik_chain_init().
int Brush::pose_smooth_iterations |
Definition at line 321 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and SCULPT_pose_brush_init().
PreviewImage* Brush::preview |
Definition at line 172 of file DNA_brush_types.h.
Referenced by brush_blend_read_data(), brush_copy_data(), and brush_free_data().
float Brush::rake_factor |
Rake actual data (not texture), used for sculpt.
Definition at line 182 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), sculpt_brush_needs_rake_rotation(), and sculpt_update_brush_delta().
float Brush::rate |
Paint operations / second (airbrush).
Definition at line 211 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), blo_do_versions_250(), and paint_stroke_modal().
float Brush::rgb[3] |
Color.
Definition at line 214 of file DNA_brush_types.h.
Referenced by BKE_brush_color_get(), BKE_brush_color_set(), BKE_brush_sculpt_reset(), BKE_gpencil_brush_preset_set(), brush_colors_flip_exec(), ED_gpencil_fill_vertex_color_set(), ED_gpencil_point_vertex_color_set(), ED_gpencil_sbuffer_vertex_color_set(), gpencil_brush_cursor_draw(), and gpencil_vertexpaint_brush_init().
int Brush::sampling_flag |
Definition at line 195 of file DNA_brush_types.h.
Referenced by blender::ed::sculpt_paint::aa_samples_per_texel_axis().
int Brush::sculpt_plane |
The direction of movement for sculpt vertices.
Definition at line 242 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), calc_sculpt_normal(), calc_sculpt_plane(), SCULPT_calc_brush_plane(), SCULPT_do_clay_strips_brush(), SCULPT_do_clay_thumb_brush(), and SCULPT_do_multiplane_scrape_brush().
char Brush::sculpt_tool |
Active sculpt tool.
Definition at line 260 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_has_secondary_color(), BKE_brush_sculpt_reset(), blo_do_versions_260(), blo_do_versions_270(), BLO_update_defaults_startup_blend(), brush_strength(), cloth_brush_simulation_falloff_get(), do_brush_action(), do_cloth_brush_build_constraints_task_cb_ex(), paint_cursor_cursor_draw_3d_view_brush_cursor_active(), paint_cursor_draw_3d_view_brush_cursor_inactive(), paint_space_stroke_enabled(), paint_tool_require_inbetween_mouse_events(), paint_tool_require_location(), sculpt_automasking_is_constrained_by_radius(), sculpt_brush_dynamic_size_get(), sculpt_brush_needs_normal(), sculpt_brush_needs_rake_rotation(), sculpt_brush_stroke_init(), sculpt_brush_stroke_invoke(), sculpt_brush_use_topology_rake(), SCULPT_cloth_brush_affected_nodes_gather(), sculpt_combine_proxies(), SCULPT_do_crease_brush(), SCULPT_is_cloth_deform_brush(), sculpt_is_grab_tool(), sculpt_needs_connectivity_info(), sculpt_needs_delta_for_tip_orientation(), sculpt_needs_delta_from_anchored_origin(), sculpt_needs_pbvh_pixels(), sculpt_pbvh_gather_generic(), sculpt_restore_mesh(), sculpt_stroke_done(), SCULPT_stroke_is_dynamic_topology(), SCULPT_stroke_modifiers_check(), sculpt_stroke_test_start(), sculpt_stroke_update_step(), sculpt_tool_name(), SCULPT_tool_needs_all_pbvh_nodes(), sculpt_topology_update(), sculpt_update_brush_delta(), sculpt_update_cache_invariants(), sculpt_update_cache_variants(), smooth_brush_toggle_off(), smooth_brush_toggle_on(), and update_sculpt_normal().
float Brush::secondary_rgb[3] |
Background color.
Definition at line 235 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), BKE_brush_secondary_color_get(), BKE_gpencil_brush_preset_set(), and brush_colors_flip_exec().
float Brush::sharp_threshold |
Definition at line 366 of file DNA_brush_types.h.
Referenced by do_projectpaint_soften(), do_projectpaint_soften_f(), and paint_2d_lift_soften().
int Brush::size |
Brush diameter.
Definition at line 191 of file DNA_brush_types.h.
Referenced by BKE_brush_add_gpencil(), BKE_brush_sculpt_reset(), BKE_brush_size_get(), BKE_brush_size_set(), BKE_gpencil_brush_preset_set(), blo_do_versions_250(), brush_influence_calc(), brush_scale_size_exec(), brush_smear_apply(), ED_gpencil_brush_draw_eraser(), gpencil_brush_clone_adjust(), gpencil_brush_cursor_draw(), gpencil_draw_exit(), gpencil_get_default_eraser(), gpencil_init_drawing_brush(), gpencil_prepare_stroke(), gpencil_primitive_interaction_end(), gpencil_primitive_size(), gpencil_sculpt_brush_apply(), gpencil_sculpt_brush_do_frame(), gpencil_sculpt_brush_do_stroke(), gpencil_stroke_from_buffer(), gpencil_stroke_newfrombuffer(), gpencil_vertexpaint_brush_apply(), gpencil_vertexpaint_brush_do_frame(), gpencil_vertexpaint_brush_init(), gpencil_vertexpaint_select_stroke(), gpencil_weightpaint_brush_apply(), gpencil_weightpaint_brush_do_frame(), and gpencil_weightpaint_select_stroke().
int Brush::slide_deform_type |
Definition at line 356 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and do_topology_slide_task_cb_ex().
int Brush::smear_deform_type |
Definition at line 353 of file DNA_brush_types.h.
Referenced by do_displacement_smear_brush_task_cb_ex(), and do_smear_brush_task_cb_exec().
int Brush::smooth_deform_type |
Definition at line 344 of file DNA_brush_types.h.
Referenced by do_brush_action().
float Brush::smooth_stroke_factor |
Higher values limit fast changes in the stroke direction.
Definition at line 209 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), BKE_gpencil_brush_preset_set(), blo_do_versions_250(), gpencil_draw_apply(), and paint_smooth_stroke().
int Brush::smooth_stroke_radius |
Turning radius (in pixels) for smooth stroke.
Definition at line 207 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), BKE_gpencil_brush_preset_set(), blo_do_versions_250(), gpencil_stroke_filtermval(), and paint_smooth_stroke().
int Brush::snake_hook_deform_type |
Definition at line 316 of file DNA_brush_types.h.
Referenced by do_snake_hook_brush_task_cb_ex(), and SCULPT_tool_needs_all_pbvh_nodes().
int Brush::spacing |
Spacing of paint operations.
Definition at line 205 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), BKE_brush_sculpt_reset(), blo_do_versions_250(), blo_do_versions_260(), BLO_update_defaults_startup_blend(), paint_space_stroke_spacing(), and paint_stroke_integrate_overlap().
float Brush::stencil_dimension[2] |
Definition at line 377 of file DNA_brush_types.h.
Referenced by BKE_brush_sample_tex_3d(), blo_do_versions_260(), 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 376 of file DNA_brush_types.h.
Referenced by BKE_brush_sample_tex_3d(), blo_do_versions_260(), paint_draw_tex_overlay(), stencil_reset_transform_exec(), and stencil_set_target().
float Brush::sub_col[4] |
Definition at line 374 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), BKE_brush_sculpt_reset(), blo_do_versions_250(), gpencil_brush_cursor_draw(), and paint_cursor_context_init().
float Brush::surface_smooth_current_vertex |
Definition at line 346 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and SCULPT_do_surface_smooth_brush_displace_task_cb_ex().
int Brush::surface_smooth_iterations |
Definition at line 347 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and SCULPT_do_surface_smooth_brush().
float Brush::surface_smooth_shape_preservation |
Definition at line 345 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and SCULPT_do_surface_smooth_brush_laplacian_task_cb_ex().
int Brush::texture_overlay_alpha |
Definition at line 359 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), blo_do_versions_250(), blo_do_versions_260(), and paint_draw_tex_overlay().
float Brush::texture_sample_bias |
Definition at line 299 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), BKE_brush_sample_tex_3d(), load_tex_task_cb_ex(), and SCULPT_brush_strength_factor().
float Brush::tilt_strength_factor |
Definition at line 285 of file DNA_brush_types.h.
Referenced by SCULPT_do_clay_strips_brush(), SCULPT_do_fill_brush(), SCULPT_do_flatten_brush(), SCULPT_do_scrape_brush(), and SCULPT_tilt_effective_normal_get().
float Brush::tip_roundness |
Tip Shape
Definition at line 231 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), do_clay_strips_brush_task_cb_ex(), do_paint_brush_task_cb_ex(), and SCULPT_do_paint_brush().
float Brush::tip_scale_x |
Definition at line 232 of file DNA_brush_types.h.
Referenced by BKE_brush_sculpt_reset(), and SCULPT_do_paint_brush().
struct Brush* Brush::toggle_brush |
Definition at line 169 of file DNA_brush_types.h.
Referenced by brush_blend_read_lib(), brush_foreach_id(), brush_generic_tool_set(), and brush_tool_toggle().
float Brush::topology_rake_factor |
Definition at line 287 of file DNA_brush_types.h.
Referenced by BKE_brush_debug_print_state(), do_brush_action(), and sculpt_brush_use_topology_rake().
float Brush::unprojected_radius |
Definition at line 363 of file DNA_brush_types.h.
Referenced by BKE_brush_unprojected_radius_get(), BKE_brush_unprojected_radius_set(), and blo_do_versions_250().
char Brush::uv_sculpt_tool |
Active sculpt tool.
Definition at line 262 of file DNA_brush_types.h.
Referenced by uv_sculpt_stroke_init().
char Brush::vertexpaint_tool |
Active vertex paint.
Definition at line 264 of file DNA_brush_types.h.
Referenced by brush_use_accumulate_ex(), vpaint_init_vpaint(), and vpaint_paint_leaves().
float Brush::weight |
Brush weight.
Definition at line 189 of file DNA_brush_types.h.
Referenced by BKE_brush_weight_get(), BKE_brush_weight_set(), blo_do_versions_260(), brush_draw_apply(), paint_proj_stroke_ps(), and palette_color_add_exec().
char Brush::weightpaint_tool |
Active weight paint.
Definition at line 266 of file DNA_brush_types.h.
Referenced by brush_use_accumulate_ex(), wpaint_paint_leaves(), and wpaint_stroke_test_start().
float Brush::wet_mix |
Wet Mix
Definition at line 222 of file DNA_brush_types.h.
Referenced by sculpt_update_cache_paint_variants().
float Brush::wet_paint_radius_factor |
Definition at line 293 of file DNA_brush_types.h.
float Brush::wet_persistence |
Definition at line 223 of file DNA_brush_types.h.
Referenced by sculpt_update_cache_paint_variants().