|
Blender V4.3
|
#include <overlay_next_paint.hh>
Public Member Functions | |
| void | begin_sync (Resources &res, const State &state) |
| void | object_sync (Manager &manager, const ObjectRef &ob_ref, const State &state) |
| void | draw (GPUFrameBuffer *framebuffer, Manager &manager, View &view) |
Definition at line 22 of file overlay_next_paint.hh.
Definition at line 42 of file overlay_next_paint.hh.
References Image::alpha_mode, BKE_image_get_gpu_texture(), BKE_scene_uses_blender_workbench(), CTX_MODE_PAINT_TEXTURE, CTX_MODE_PAINT_VERTEX, CTX_MODE_PAINT_WEIGHT, DRW_STATE_BLEND_ALPHA, DRW_STATE_DEPTH_EQUAL, DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, ELEM, ImagePaintSettings::flag, blender::draw::overlay::Resources::globals_buf, IMA_ALPHA_PREMUL, IMAGEPAINT_PROJECT_LAYER_STENCIL, IMAGEPAINT_PROJECT_LAYER_STENCIL_INV, blender::draw::detail::Pass< DrawCommandBufType >::init(), blender::math::normalize(), OB_SOLID, OB_WIRE, blender::draw::overlay::ShaderModule::paint_region_edge, blender::draw::overlay::ShaderModule::paint_region_face, blender::draw::overlay::ShaderModule::paint_region_vert, blender::draw::overlay::ShaderModule::paint_texture, blender::draw::overlay::ShaderModule::paint_weight, blender::draw::overlay::ShaderModule::paint_weight_fake_shading, blender::draw::select::SelectMap::selection_type, blender::draw::overlay::Resources::shaders, SPACE_VIEW3D, state, blender::draw::detail::PassBase< DrawCommandBufType >::state_set(), ImagePaintSettings::stencil, ImagePaintSettings::stencil_col, blender::draw::detail::PassBase< DrawCommandBufType >::sub(), V3D_OVERLAY_PAINT_WIRE, V3D_OVERLAY_WPAINT_CONTOURS, and blender::draw::overlay::Resources::weight_ramp_tx.
|
inline |
Definition at line 225 of file overlay_next_paint.hh.
References GPU_framebuffer_bind(), and blender::draw::Manager::submit().
|
inline |
Definition at line 142 of file overlay_next_paint.hh.
References BLI_assert_unreachable, CTX_MODE_PAINT_TEXTURE, CTX_MODE_PAINT_VERTEX, CTX_MODE_PAINT_WEIGHT, Object::data, DEG_get_original_object(), blender::draw::detail::PassBase< DrawCommandBufType >::draw(), DRW_cache_mesh_all_verts_get(), DRW_cache_mesh_surface_edges_get(), DRW_cache_mesh_surface_get(), DRW_cache_mesh_surface_texpaint_single_get(), DRW_cache_mesh_surface_weights_get(), Mesh::editflag, ME_EDIT_PAINT_FACE_SEL, ME_EDIT_PAINT_VERT_SEL, Object::mode, OB_MESH, OB_MODE_TEXTURE_PAINT, OB_MODE_VERTEX_PAINT, OB_MODE_WEIGHT_PAINT, blender::draw::ObjectRef::object, blender::draw::detail::PassBase< DrawCommandBufType >::push_constant(), state, Object::type, and blender::draw::Manager::unique_handle().