Blender
V3.3
|
#include "DRW_render.h"
#include "draw_cache_impl.h"
#include "overlay_private.h"
#include "BKE_curves.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) |
void | OVERLAY_sculpt_curves_cache_populate (OVERLAY_Data *vedata, Object *object) |
void | OVERLAY_sculpt_curves_draw (OVERLAY_Data *vedata) |
Definition at line 32 of file overlay_sculpt_curves.cc.
References ATTR_DOMAIN_CURVE, ATTR_DOMAIN_POINT, curves, CV_SCULPT_SELECTION_ENABLED, Curves::flag, Curves::geometry, blender::VArrayCommon< T >::get_internal_single(), blender::VArrayCommon< T >::is_single(), Curves::selection_domain, and blender::bke::CurvesGeometry::wrap().
Referenced by OVERLAY_sculpt_curves_cache_populate().
void OVERLAY_sculpt_curves_cache_init | ( | OVERLAY_Data * | vedata | ) |
Definition at line 15 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_WRITE_COLOR, OVERLAY_PrivateData::overlay, OVERLAY_shader_sculpt_curves_selection(), OVERLAY_StorageList::pd, OVERLAY_Data::psl, OVERLAY_PrivateData::sculpt_curves_selection_grp, OVERLAY_PassList::sculpt_curves_selection_ps, View3DOverlay::sculpt_mode_mask_opacity, sh, state, and OVERLAY_Data::stl.
Referenced by OVERLAY_cache_init().
void OVERLAY_sculpt_curves_cache_populate | ( | OVERLAY_Data * | vedata, |
Object * | object | ||
) |
Definition at line 52 of file overlay_sculpt_curves.cc.
References ATTR_DOMAIN_POINT, curves, DRW_curves_texture_for_evaluated_attribute(), DRW_shgroup_curves_create_sub(), DRW_shgroup_uniform_bool_copy(), DRW_shgroup_uniform_texture(), everything_selected(), OVERLAY_StorageList::pd, OVERLAY_PrivateData::sculpt_curves_selection_grp, and OVERLAY_Data::stl.
Referenced by OVERLAY_cache_populate().
void OVERLAY_sculpt_curves_draw | ( | OVERLAY_Data * | vedata | ) |
Definition at line 84 of file overlay_sculpt_curves.cc.
References DRW_draw_pass(), DRW_state_is_fbo(), OVERLAY_Data::fbl, GPU_framebuffer_bind(), OVERLAY_PrivateData::in_front, OVERLAY_FramebufferList::overlay_default_fb, OVERLAY_FramebufferList::overlay_in_front_fb, OVERLAY_PrivateData::painting, OVERLAY_StorageList::pd, OVERLAY_Data::psl, OVERLAY_PassList::sculpt_curves_selection_ps, and OVERLAY_Data::stl.
Referenced by OVERLAY_draw_scene().