|
Blender V4.3
|
#include "BKE_attribute.hh"#include "BKE_curves.h"#include "DRW_render.hh"#include "ED_view3d.hh"#include "DEG_depsgraph_query.hh"#include "draw_cache_impl.hh"#include "overlay_private.hh"Go to the source code of this file.
Functions | |
| void | OVERLAY_edit_curves_init (OVERLAY_Data *vedata) |
| void | OVERLAY_edit_curves_cache_init (OVERLAY_Data *vedata) |
| static void | overlay_edit_curves_add_ob_to_pass (OVERLAY_PrivateData *pd, Object *ob, bool in_front) |
| void | OVERLAY_edit_curves_cache_populate (OVERLAY_Data *vedata, Object *ob) |
| void | OVERLAY_edit_curves_draw (OVERLAY_Data *vedata) |
|
static |
Definition at line 78 of file overlay_edit_curves.cc.
References Object::data, OVERLAY_PrivateData::do_points, DRW_shgroup_call_no_cull, OVERLAY_PrivateData::edit_curves, OVERLAY_PrivateData::edit_curves_handles_grp, OVERLAY_PrivateData::edit_curves_lines_grp, and OVERLAY_PrivateData::edit_curves_points_grp.
Referenced by OVERLAY_edit_curves_cache_populate().
| void OVERLAY_edit_curves_cache_init | ( | OVERLAY_Data * | vedata | ) |
Definition at line 39 of file overlay_edit_curves.cc.
References DRW_Global::block_ubo, OVERLAY_PrivateData::clipping_state, OVERLAY_PrivateData::do_points, DRW_PASS_CREATE, DRW_shgroup_create(), DRW_shgroup_state_enable(), DRW_shgroup_uniform_block, DRW_shgroup_uniform_bool_copy(), DRW_STATE_BLEND_ALPHA, DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, OVERLAY_PrivateData::edit_curves, OVERLAY_PrivateData::edit_curves_handles_grp, OVERLAY_PassList::edit_curves_handles_ps, OVERLAY_PrivateData::edit_curves_lines_grp, OVERLAY_PassList::edit_curves_lines_ps, OVERLAY_PrivateData::edit_curves_points_grp, OVERLAY_PassList::edit_curves_points_ps, G_draw, OVERLAY_shader_edit_curves_handle(), OVERLAY_shader_edit_particle_point(), OVERLAY_shader_edit_particle_strand(), OVERLAY_StorageList::pd, OVERLAY_Data::psl, state, and OVERLAY_Data::stl.
Referenced by OVERLAY_cache_init().
| void OVERLAY_edit_curves_cache_populate | ( | OVERLAY_Data * | vedata, |
| Object * | ob ) |
Definition at line 98 of file overlay_edit_curves.cc.
References OVERLAY_PrivateData::do_zbufclip, OVERLAY_PrivateData::edit_curves, overlay_edit_curves_add_ob_to_pass(), OVERLAY_StorageList::pd, and OVERLAY_Data::stl.
Referenced by OVERLAY_cache_populate().
| void OVERLAY_edit_curves_draw | ( | OVERLAY_Data * | vedata | ) |
Definition at line 105 of file overlay_edit_curves.cc.
References OVERLAY_PrivateData::do_points, OVERLAY_PrivateData::do_zbufclip, DRW_draw_pass(), DRW_state_is_fbo(), DRW_view_set_active(), OVERLAY_PrivateData::edit_curves, OVERLAY_PassList::edit_curves_handles_ps, OVERLAY_PassList::edit_curves_lines_ps, OVERLAY_PassList::edit_curves_points_ps, OVERLAY_Data::fbl, GPU_framebuffer_bind(), IN_FRONT, NOT_IN_FRONT, OVERLAY_FramebufferList::overlay_default_fb, OVERLAY_StorageList::pd, OVERLAY_Data::psl, OVERLAY_Data::stl, and OVERLAY_PrivateData::view_edit_curves.
Referenced by OVERLAY_draw_scene().
| void OVERLAY_edit_curves_init | ( | OVERLAY_Data * | vedata | ) |
Definition at line 22 of file overlay_edit_curves.cc.
References Object::data, DEG_get_original_object(), OVERLAY_PrivateData::do_points, OVERLAY_PrivateData::do_zbufclip, DRW_context_state_get(), DRW_view_create_with_zoffset(), DRW_view_default_get(), OVERLAY_PrivateData::edit_curves, DRWContextState::obact, OVERLAY_StorageList::pd, DRWContextState::rv3d, Curves::selection_domain, OVERLAY_Data::stl, DRWContextState::v3d, OVERLAY_PrivateData::view_edit_curves, and XRAY_FLAG_ENABLED.
Referenced by OVERLAY_engine_init().