|
Blender V4.3
|
#include <overlay_next_sculpt.hh>
Public Member Functions | |
| Sculpts (const SelectionType selection_type_) | |
| void | begin_sync (Resources &res, const State &state) |
| void | object_sync (Manager &manager, const ObjectRef &ob_ref, const State &state) |
| void | curves_sync (Manager &manager, const ObjectRef &ob_ref, const State &state) |
| void | mesh_sync (Manager &manager, const ObjectRef &ob_ref, const State &state) |
| void | draw (GPUFrameBuffer *framebuffer, Manager &manager, View &view) |
| void | draw_on_render (GPUFrameBuffer *framebuffer, Manager &manager, View &view) |
Definition at line 23 of file overlay_next_sculpt.hh.
|
inline |
Definition at line 41 of file overlay_next_sculpt.hh.
Definition at line 43 of file overlay_next_sculpt.hh.
References DRW_STATE_BLEND_ALPHA, DRW_STATE_BLEND_MUL, DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_WRITE_COLOR, ELEM, blender::draw::overlay::Resources::globals_buf, blender::draw::detail::Pass< DrawCommandBufType >::init(), OB_MODE_SCULPT, OB_MODE_SCULPT_CURVES, blender::draw::overlay::ShaderModule::sculpt_curves, blender::draw::overlay::ShaderModule::sculpt_curves_cage, blender::draw::overlay::ShaderModule::sculpt_mesh, blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::draw::overlay::Resources::shaders, SPACE_VIEW3D, state, blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), blender::draw::detail::PassBase< DrawCommandBufType >::sub(), V3D_OVERLAY_SCULPT_CURVES_CAGE, V3D_OVERLAY_SCULPT_SHOW_FACE_SETS, and V3D_OVERLAY_SCULPT_SHOW_MASK.
|
inline |
Definition at line 116 of file overlay_next_sculpt.hh.
References blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), blender::draw::curves_sub_pass_setup(), Object::data, blender::draw::detail::PassBase< DrawCommandBufType >::draw(), blender::draw::DRW_curves_batch_cache_get_sculpt_curves_cage(), blender::draw::DRW_curves_texture_for_evaluated_attribute(), blender::draw::ObjectRef::object, blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), state, and blender::draw::Manager::unique_handle().
Referenced by object_sync().
|
inline |
Definition at line 228 of file overlay_next_sculpt.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().
|
inline |
Definition at line 237 of file overlay_next_sculpt.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().
|
inline |
Definition at line 147 of file overlay_next_sculpt.hh.
References Geometry::attributes, batch, BKE_sculptsession_use_pbvh_draw(), BKE_subdiv_ccg_key_top_level(), BLI_assert_unreachable, bm, SculptSession::bm, blender::bke::pbvh::BMesh, CD_PROP_FLOAT, CustomData_has_layer_named(), Object::data, DEG_get_original_id(), blender::draw::detail::PassBase< DrawCommandBufType >::draw(), blender::draw::DRW_mesh_batch_cache_get_sculpt_overlays(), blender::bke::pbvh::Grids, CCGKey::has_mask, Object::id, blender::bke::pbvh::Mesh, blender::draw::ObjectRef::object, blender::bke::object::pbvh_get(), BMesh::pdata, blender::draw::Manager::resource_handle_for_sculpt(), Object::sculpt, blender::draw::SCULPT_BATCH_DEFAULT, blender::draw::SCULPT_BATCH_FACE_SET, blender::draw::SCULPT_BATCH_MASK, blender::draw::sculpt_batches_get(), state, SculptSession::subdiv_ccg, blender::bke::pbvh::Tree::type(), blender::draw::Manager::unique_handle(), and BMesh::vdata.
Referenced by object_sync().
|
inline |
Definition at line 100 of file overlay_next_sculpt.hh.
References curves_sync(), mesh_sync(), OB_CURVES, OB_MESH, blender::draw::ObjectRef::object, state, and Object::type.