|
Blender V4.3
|
#include <overlay_next_light.hh>
Public Member Functions | |
| Lights (const SelectionType selection_type) | |
| void | begin_sync () |
| 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 15 of file overlay_next_light.hh.
|
inline |
Definition at line 40 of file overlay_next_light.hh.
|
inline |
Definition at line 42 of file overlay_next_light.hh.
|
inline |
Definition at line 191 of file overlay_next_light.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().
|
inline |
Definition at line 144 of file overlay_next_light.hh.
References blender::draw::detail::PassBase< DrawCommandBufType >::bind_ubo(), DRW_STATE_BLEND_ALPHA, DRW_STATE_CULL_BACK, DRW_STATE_CULL_FRONT, DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, blender::draw::overlay::ShaderModule::extra_ground_line, blender::draw::overlay::ShaderModule::extra_shape, blender::draw::overlay::Resources::globals_buf, blender::draw::overlay::ShapeCache::ground_line, blender::draw::detail::Pass< DrawCommandBufType >::init(), blender::draw::overlay::ShapeCache::light_area_disk_lines, blender::draw::overlay::ShapeCache::light_area_square_lines, blender::draw::overlay::ShapeCache::light_icon_inner_lines, blender::draw::overlay::ShapeCache::light_icon_outer_lines, blender::draw::overlay::ShapeCache::light_icon_sun_rays, blender::draw::overlay::ShapeCache::light_point_lines, blender::draw::overlay::ShapeCache::light_spot_lines, blender::draw::overlay::ShapeCache::light_spot_volume, blender::draw::overlay::ShapeCache::light_sun_lines, blender::draw::select::SelectMap::select_bind(), blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::draw::overlay::Resources::shaders, state, blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), and blender::draw::detail::PassBase< DrawCommandBufType >::sub().
|
inline |
Definition at line 57 of file overlay_next_light.hh.
References blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::append(), b, cosf, data, Object::data, ELEM, LA_AREA, LA_AREA_ELLIPSE, LA_AREA_RECT, LA_AREA_SQUARE, LA_LOCAL, LA_SHOW_CONE, LA_SPOT, LA_SUN, max_ff(), blender::draw::ObjectRef::object, blender::draw::overlay::Resources::object_wire_color(), rescale_m4(), blender::draw::select::SelectMap::select_id(), sqrtf, state, V3D_OVERLAY_SHOW_LIGHT_COLORS, and blender::VecBase< T, Size >::xyz().