|
Blender V4.3
|
#include "DRW_render.hh"#include "draw_cache_impl.hh"#include "overlay_private.hh"#include "BKE_attribute.hh"#include "BKE_crazyspace.hh"#include "BKE_curves.hh"#include "DEG_depsgraph_query.hh"Go to the source code of this file.
Functions | |
| void | OVERLAY_sculpt_curves_cache_init (OVERLAY_Data *vedata) |
| static bool | everything_selected (const Curves &curves_id) |
| static void | populate_selection_overlay (OVERLAY_Data *vedata, Object *object) |
| static void | populate_edit_overlay (OVERLAY_Data *vedata, Object *object) |
| void | OVERLAY_sculpt_curves_cache_populate (OVERLAY_Data *vedata, Object *object) |
| void | OVERLAY_sculpt_curves_draw (OVERLAY_Data *vedata) |
| void | OVERLAY_sculpt_curves_draw_wires (OVERLAY_Data *vedata) |
|
static |
Definition at line 52 of file overlay_sculpt_curves.cc.
References Curves::geometry, and blender::VArrayCommon< T >::is_single().
Referenced by populate_selection_overlay().
| void OVERLAY_sculpt_curves_cache_init | ( | OVERLAY_Data * | vedata | ) |
Definition at line 20 of file overlay_sculpt_curves.cc.
References OVERLAY_PrivateData::clipping_state, DRW_PASS_CREATE, DRW_shgroup_create(), DRW_shgroup_uniform_float_copy(), DRW_STATE_BLEND_ALPHA, DRW_STATE_DEPTH_EQUAL, DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_WRITE_COLOR, OVERLAY_PrivateData::overlay, OVERLAY_shader_sculpt_curves_cage(), OVERLAY_shader_sculpt_curves_selection(), OVERLAY_StorageList::pd, OVERLAY_Data::psl, OVERLAY_PrivateData::sculpt_curves_cage_lines_grp, View3DOverlay::sculpt_curves_cage_opacity, OVERLAY_PassList::sculpt_curves_cage_ps, OVERLAY_PrivateData::sculpt_curves_selection_grp, OVERLAY_PassList::sculpt_curves_selection_ps, View3DOverlay::sculpt_mode_mask_opacity, state, and OVERLAY_Data::stl.
Referenced by OVERLAY_cache_init().
| void OVERLAY_sculpt_curves_cache_populate | ( | OVERLAY_Data * | vedata, |
| Object * | object ) |
Definition at line 101 of file overlay_sculpt_curves.cc.
References View3DOverlay::flag, OVERLAY_PrivateData::overlay, OVERLAY_StorageList::pd, populate_edit_overlay(), populate_selection_overlay(), View3DOverlay::sculpt_curves_cage_opacity, OVERLAY_Data::stl, and V3D_OVERLAY_SCULPT_CURVES_CAGE.
Referenced by OVERLAY_cache_populate().
| void OVERLAY_sculpt_curves_draw | ( | OVERLAY_Data * | vedata | ) |
Definition at line 111 of file overlay_sculpt_curves.cc.
References DRW_draw_pass(), OVERLAY_Data::psl, and OVERLAY_PassList::sculpt_curves_selection_ps.
Referenced by OVERLAY_draw_scene().
| void OVERLAY_sculpt_curves_draw_wires | ( | OVERLAY_Data * | vedata | ) |
Definition at line 118 of file overlay_sculpt_curves.cc.
References DRW_draw_pass(), OVERLAY_Data::psl, and OVERLAY_PassList::sculpt_curves_cage_ps.
Referenced by OVERLAY_draw_scene().
|
static |
Definition at line 91 of file overlay_sculpt_curves.cc.
References DRW_shgroup_call_no_cull, OVERLAY_StorageList::pd, OVERLAY_PrivateData::sculpt_curves_cage_lines_grp, and OVERLAY_Data::stl.
Referenced by OVERLAY_sculpt_curves_cache_populate().
|
static |
Definition at line 61 of file overlay_sculpt_curves.cc.
References DRW_shgroup_buffer_texture(), DRW_shgroup_uniform_bool_copy(), everything_selected(), OVERLAY_StorageList::pd, OVERLAY_PrivateData::sculpt_curves_selection_grp, and OVERLAY_Data::stl.
Referenced by OVERLAY_sculpt_curves_cache_populate().