|
Blender V4.3
|
#include <overlay_next_origin.hh>
Public Member Functions | |
| void | begin_sync (const State &state) |
| void | object_sync (const ObjectRef &ob_ref, Resources &res, State &state) |
| void | end_sync (Resources &res, const State &state) |
| void | draw (Framebuffer &framebuffer, Manager &manager, View &view) |
Definition at line 14 of file overlay_next_origin.hh.
|
inline |
Definition at line 23 of file overlay_next_origin.hh.
References blender::draw::StorageVectorBuffer< T, len >::clear(), OB_MODE_ALL_PAINT, OB_MODE_ALL_PAINT_GPENCIL, OB_MODE_SCULPT_CURVES, state, and V3D_OVERLAY_HIDE_OBJECT_ORIGINS.
|
inline |
Definition at line 72 of file overlay_next_origin.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().
Definition at line 58 of file overlay_next_origin.hh.
References blender::draw::detail::PassBase< DrawCommandBufType >::bind_ssbo(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_ubo(), blender::draw::detail::PassBase< DrawCommandBufType >::draw_procedural(), DRW_STATE_BLEND_ALPHA, DRW_STATE_WRITE_COLOR, blender::draw::overlay::ShaderModule::extra_point, blender::draw::overlay::Resources::globals_buf, GPU_PRIM_POINTS, blender::draw::detail::Pass< DrawCommandBufType >::init(), blender::draw::detail::StorageCommon< T, len, device_only >::push_update(), blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::draw::overlay::Resources::shaders, blender::draw::StorageVectorBuffer< T, len >::size(), state, and blender::draw::detail::PassBase< DrawCommandBufType >::state_set().
|
inline |
Definition at line 33 of file overlay_next_origin.hh.
References blender::draw::StorageVectorBuffer< T, len >::append(), Object::base_flag, BASE_SELECTED, BKE_view_layer_active_object_get(), BKE_view_layer_synced_ensure(), GlobalsUboStorage::color_active, GlobalsUboStorage::color_deselect, GlobalsUboStorage::color_library, GlobalsUboStorage::color_library_select, GlobalsUboStorage::color_select, Object::id, ID_IS_LINKED, ID_REAL_USERS, blender::draw::ObjectRef::object, state, blender::draw::overlay::Resources::theme_settings, and V3D_DRAW_CENTERS.