|
Blender V4.3
|
#include <overlay_next_lightprobe.hh>
Public Member Functions | |
| LightProbes (const SelectionType selection_type) | |
| void | begin_sync (Resources &res, const State &state) |
| 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) |
| void | draw_color_only (Framebuffer &framebuffer, Manager &manager, View &view) |
Definition at line 17 of file overlay_next_lightprobe.hh.
|
inline |
Definition at line 43 of file overlay_next_lightprobe.hh.
|
inline |
Definition at line 45 of file overlay_next_lightprobe.hh.
References blender::draw::detail::PassBase< DrawCommandBufType >::bind_texture(), blender::draw::detail::PassBase< DrawCommandBufType >::bind_ubo(), blender::draw::overlay::Resources::depth_tx, DRW_STATE_WRITE_COLOR, blender::draw::overlay::ShaderModule::extra_grid, G, G_TRANSFORM_OBJ, blender::draw::overlay::Resources::globals_buf, blender::draw::detail::Pass< DrawCommandBufType >::init(), blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), 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 203 of file overlay_next_lightprobe.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().
|
inline |
Definition at line 209 of file overlay_next_lightprobe.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().
|
inline |
Definition at line 174 of file overlay_next_lightprobe.hh.
References blender::draw::detail::PassBase< DrawCommandBufType >::bind_ubo(), blender::draw::overlay::ShapeCache::cube, DRW_STATE_BLEND_ALPHA, DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, blender::draw::overlay::ShapeCache::empty_sphere, 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::lightprobe_cube, blender::draw::overlay::ShapeCache::lightprobe_grid, blender::draw::overlay::ShapeCache::lightprobe_planar, blender::draw::overlay::ShapeCache::quad_solid, blender::draw::select::SelectMap::select_bind(), blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::draw::overlay::Resources::shaders, blender::draw::overlay::ShapeCache::single_arrow, state, blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), and blender::draw::detail::PassBase< DrawCommandBufType >::sub().
|
inline |
Definition at line 65 of file overlay_next_lightprobe.hh.
References blender::draw::overlay::ShapeInstanceBuf< InstanceDataT >::append(), Object::base_flag, BASE_SELECTED, data, Object::data, blender::draw::detail::PassBase< DrawCommandBufType >::draw_procedural(), Object::empty_drawsize, blender::math::from_loc_rot_scale(), blender::draw::select::ID::get(), GPU_PRIM_POINTS, blender::math::QuaternionBase< T >::identity(), LIGHTPROBE_FLAG_CUSTOM_PARALLAX, LIGHTPROBE_FLAG_SHOW_CLIP_DIST, LIGHTPROBE_FLAG_SHOW_DATA, LIGHTPROBE_FLAG_SHOW_INFLUENCE, LIGHTPROBE_FLAG_SHOW_PARALLAX, LIGHTPROBE_SHAPE_BOX, LIGHTPROBE_TYPE_PLANE, LIGHTPROBE_TYPE_SPHERE, LIGHTPROBE_TYPE_VOLUME, blender::math::normalize(), blender::draw::ObjectRef::object, blender::draw::overlay::Resources::object_wire_color(), blender::draw::overlay::Resources::object_wire_theme_id(), blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), blender::math::reduce_max(), blender::draw::select::SelectMap::select_id(), state, TH_ACTIVE, and blender::math::to_scale().