|
Blender V4.3
|
#include <overlay_next_particle.hh>
Public Member Functions | |
| void | begin_sync (Resources &res, const State &state) |
| void | edit_object_sync (Manager &manager, const ObjectRef &ob_ref, Resources &, const State &state) |
| void | object_sync (Manager &manager, const ObjectRef &ob_ref, Resources &res, const State &state) |
| void | draw (Framebuffer &framebuffer, Manager &manager, View &view) |
| void | draw_no_line (Framebuffer &framebuffer, Manager &manager, View &view) |
Static Public Member Functions | |
| static float4x4 | dupli_matrix_get (const ObjectRef &ob_ref) |
Definition at line 22 of file overlay_next_particle.hh.
Definition at line 40 of file overlay_next_particle.hh.
References ParticleEditSettings::brushtype, DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, ELEM, G, G_TRANSFORM_OBJ, blender::draw::overlay::Resources::globals_buf, blender::draw::detail::Pass< DrawCommandBufType >::init(), blender::draw::overlay::ShaderModule::particle_dot, blender::draw::overlay::ShaderModule::particle_edit_edge, blender::draw::overlay::ShaderModule::particle_edit_vert, blender::draw::overlay::ShaderModule::particle_hair, blender::draw::overlay::ShaderModule::particle_shape, PE_BRUSH_WEIGHT, PE_settings(), SCE_SELECT_END, SCE_SELECT_POINT, blender::draw::select::SelectMap::select_bind(), ParticleEditSettings::selectmode, blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::draw::overlay::Resources::shaders, SPACE_VIEW3D, state, blender::draw::detail::PassBase< DrawCommandBufType >::sub(), and blender::draw::overlay::Resources::weight_ramp_tx.
|
inline |
Definition at line 283 of file overlay_next_particle.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().
|
inline |
Definition at line 293 of file overlay_next_particle.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().
|
inlinestatic |
Definition at line 116 of file overlay_next_particle.hh.
References blender::draw::ObjectRef::dupli_object, blender::draw::ObjectRef::dupli_parent, blender::MatBase< float, 4, 4 >::identity(), Object::instance_collection, blender::math::invert(), DupliObject::ob, OB_DUPLICOLLECTION, blender::draw::ObjectRef::object, and DupliObject::type.
Referenced by edit_object_sync(), object_sync(), and blender::draw::overlay::Prepass::particle_sync().
|
inline |
Definition at line 136 of file overlay_next_particle.hh.
References DEG_get_original_id(), DEG_get_original_object(), blender::draw::detail::PassBase< DrawCommandBufType >::draw(), DRW_cache_particles_get_edit_inner_points(), DRW_cache_particles_get_edit_strands(), DRW_cache_particles_get_edit_tip_points(), dupli_matrix_get(), blender::draw::ObjectRef::object, Object::particlesystem, PE_create_current(), PE_get_current_from_psys(), printf, blender::draw::Manager::resource_handle_for_psys(), and state.
|
inline |
Definition at line 201 of file overlay_next_particle.hh.
References BKE_object_material_get_eval(), blender::draw::detail::PassBase< DrawCommandBufType >::draw(), blender::draw::detail::PassBase< DrawCommandBufType >::draw_expand(), DRW_cache_particles_get_dots(), DRW_cache_particles_get_hair(), DRW_object_is_visible_psys_in_active_context(), dupli_matrix_get(), blender::draw::select::ID::get(), GPU_PRIM_LINES, blender::draw::ObjectRef::object, PART_DRAW_AXIS, PART_DRAW_CIRC, PART_DRAW_CROSS, PART_DRAW_DOT, PART_DRAW_GR, PART_DRAW_NOT, PART_DRAW_OB, PART_DRAW_PATH, PART_DRAW_REND, PART_SHAPE_AXIS, PART_SHAPE_CIRCLE, PART_SHAPE_CROSS, PARTICLE_SHAPE_CIRCLE_RESOLUTION, Object::particlesystem, blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), blender::draw::Manager::resource_handle_for_psys(), blender::draw::select::SelectMap::select_id(), set_color(), and state.