|
Blender V4.3
|
#include <overlay_next_metaball.hh>
Public Member Functions | |
| Metaballs (const SelectionType selection_type) | |
| void | begin_sync () |
| void | edit_object_sync (const ObjectRef &ob_ref, Resources &res) |
| void | object_sync (const ObjectRef &ob_ref, Resources &res, const State &state) |
| void | end_sync (Resources &res, ShapeCache &shapes, const State &state) |
| void | draw (Framebuffer &framebuffer, Manager &manager, View &view) |
Definition at line 18 of file overlay_next_metaball.hh.
|
inline |
Definition at line 29 of file overlay_next_metaball.hh.
|
inline |
Definition at line 31 of file overlay_next_metaball.hh.
References blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::clear().
|
inline |
Definition at line 94 of file overlay_next_metaball.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().
|
inline |
Definition at line 36 of file overlay_next_metaball.hh.
References blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::append(), atanf, GlobalsUboStorage::color_mball_radius, GlobalsUboStorage::color_mball_radius_select, GlobalsUboStorage::color_mball_stiffness, GlobalsUboStorage::color_mball_stiffness_select, Object::data, MetaBall::editelems, LISTBASE_FOREACH, MB_SCALE_RAD, MBALLSEL_RADIUS, MBALLSEL_STIFF, blender::draw::ObjectRef::object, blender::math::numbers::pi, SELECT, blender::draw::select::SelectMap::select_id(), and blender::draw::overlay::Resources::theme_settings.
|
inline |
Definition at line 80 of file overlay_next_metaball.hh.
References blender::draw::overlay::ShaderModule::armature_sphere_outline, blender::draw::detail::PassBase< DrawCommandBufType >::bind_ubo(), DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::end_sync(), blender::draw::overlay::Resources::globals_buf, blender::draw::detail::Pass< DrawCommandBufType >::init(), blender::draw::overlay::ShapeCache::metaball_wire_circle, blender::draw::select::SelectMap::select_bind(), blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::draw::overlay::Resources::shaders, state, and blender::draw::detail::PassBase< DrawCommandBufType >::state_set().
|
inline |
Definition at line 65 of file overlay_next_metaball.hh.
References blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::append(), Object::data, MetaBall::elems, LISTBASE_FOREACH, blender::draw::ObjectRef::object, blender::draw::overlay::Resources::object_wire_color(), blender::draw::select::SelectMap::select_id(), and state.