|
Blender V4.3
|
#include <overlay_next_facing.hh>
Public Member Functions | |
| Facing (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 | draw (Framebuffer &framebuffer, Manager &manager, View &view) |
Definition at line 17 of file overlay_next_facing.hh.
|
inline |
Definition at line 27 of file overlay_next_facing.hh.
Definition at line 29 of file overlay_next_facing.hh.
References blender::draw::detail::PassBase< DrawCommandBufType >::bind_ubo(), DRW_STATE_CULL_BACK, DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, blender::draw::overlay::ShaderModule::facing, blender::draw::overlay::Resources::globals_buf, blender::draw::detail::Pass< DrawCommandBufType >::init(), OB_SOLID, blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::draw::overlay::Resources::shaders, state, blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), V3D_OVERLAY_FACE_ORIENTATION, and V3D_SHADING_BACKFACE_CULLING.
|
inline |
Definition at line 81 of file overlay_next_facing.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().
|
inline |
Definition at line 51 of file overlay_next_facing.hh.
References batch, BKE_sculptsession_use_pbvh_draw(), blender::draw::detail::PassBase< DrawCommandBufType >::draw(), DRW_cache_object_surface_get(), DRW_object_is_renderable(), DRW_state_is_image_render(), Object::dt, OB_SOLID, OB_WIRE, blender::draw::ObjectRef::object, blender::draw::Manager::resource_handle_for_sculpt(), blender::draw::SCULPT_BATCH_DEFAULT, blender::draw::sculpt_batches_get(), state, and blender::draw::Manager::unique_handle().