|
Blender V4.3
|
#include <overlay_next_fade.hh>
Public Member Functions | |
| Fade (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 18 of file overlay_next_fade.hh.
|
inline |
Definition at line 32 of file overlay_next_fade.hh.
Definition at line 34 of file overlay_next_fade.hh.
References blender::draw::overlay::Resources::background_color_get(), DRW_STATE_BLEND_ALPHA, DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_WRITE_COLOR, blender::draw::detail::Pass< DrawCommandBufType >::init(), powf, blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), blender::draw::detail::PassBase< DrawCommandBufType >::shader_set(), blender::draw::overlay::Resources::shaders, srgb_to_linearrgb_v4(), state, blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), blender::draw::detail::PassBase< DrawCommandBufType >::sub(), blender::draw::overlay::ShaderModule::uniform_color, V3D_OVERLAY_FADE_INACTIVE, and V3D_SHADING_BACKGROUND_THEME.
|
inline |
Definition at line 126 of file overlay_next_fade.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().
|
inline |
Definition at line 80 of file overlay_next_fade.hh.
References batch, BKE_sculptsession_use_pbvh_draw(), DRW_cache_object_surface_get(), DRW_object_is_renderable(), DRW_state_is_image_render(), Object::dt, OB_MESH, OB_WIRE, blender::draw::ObjectRef::object, blender::draw::Manager::resource_handle_for_sculpt(), blender::draw::SCULPT_BATCH_DEFAULT, blender::draw::sculpt_batches_get(), state, Object::type, and blender::draw::Manager::unique_handle().