Blender V4.3
blender::draw::overlay::Meshes Class Reference

#include <overlay_next_mesh.hh>

Public Member Functions

void begin_sync (Resources &res, const State &state, const View &view)
 
void edit_object_sync (Manager &manager, const ObjectRef &ob_ref, const State &state, Resources &)
 
void draw (Framebuffer &framebuffer, Manager &manager, View &view)
 
void draw_color_only (Framebuffer &framebuffer, Manager &manager, View &view)
 

Static Public Member Functions

static bool mesh_has_edit_cage (const Object *ob)
 

Detailed Description

Definition at line 36 of file overlay_next_mesh.hh.

Member Function Documentation

◆ begin_sync()

void blender::draw::overlay::Meshes::begin_sync ( Resources & res,
const State & state,
const View & view )
inline

Definition at line 80 of file overlay_next_mesh.hh.

References blender::draw::overlay::Resources::depth_tx, DRW_STATE_BLEND_ALPHA, DRW_STATE_CULL_BACK, DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_FIRST_VERTEX_CONVENTION, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, blender::draw::overlay::Resources::dummy_depth_tx, blender::draw::overlay::Resources::globals_buf, GPU_use_hq_normals_workaround(), blender::draw::detail::Pass< DrawCommandBufType >::init(), blender::draw::overlay::ShaderModule::mesh_analysis, blender::draw::overlay::ShaderModule::mesh_edit_depth, blender::draw::overlay::ShaderModule::mesh_edit_edge, blender::draw::overlay::ShaderModule::mesh_edit_face, blender::draw::overlay::ShaderModule::mesh_edit_facedot, blender::draw::overlay::ShaderModule::mesh_edit_skin_root, blender::draw::overlay::ShaderModule::mesh_edit_vert, blender::draw::overlay::ShaderModule::mesh_face_normal, blender::draw::overlay::ShaderModule::mesh_face_normal_subdiv, blender::draw::overlay::ShaderModule::mesh_loop_normal, blender::draw::overlay::ShaderModule::mesh_loop_normal_subdiv, blender::draw::overlay::ShaderModule::mesh_vert_normal, blender::math::normalize(), OB_WIRE, blender::draw::overlay::ShaderModule::paint_weight, blender::draw::overlay::ShaderModule::paint_weight_fake_shading, RETOPOLOGY_OFFSET, SCE_PERF_HQ_NORMALS, SCE_SELECT_EDGE, SCE_SELECT_FACE, SCE_SELECT_VERTEX, ToolSettings::selectmode, blender::draw::overlay::Resources::shaders, SPACE_VIEW3D, state, USER_GPU_FLAG_NO_EDIT_MODE_SMOOTH_WIRE, V3D_OVERLAY_EDIT_CONSTANT_SCREEN_SIZE_NORMALS, V3D_OVERLAY_EDIT_FACE_DOT, V3D_OVERLAY_EDIT_FACE_NORMALS, V3D_OVERLAY_EDIT_FACES, V3D_OVERLAY_EDIT_LOOP_NORMALS, V3D_OVERLAY_EDIT_RETOPOLOGY, V3D_OVERLAY_EDIT_STATVIS, V3D_OVERLAY_EDIT_VERT_NORMALS, V3D_OVERLAY_EDIT_WEIGHT, and blender::draw::overlay::Resources::weight_ramp_tx.

◆ draw()

void blender::draw::overlay::Meshes::draw ( Framebuffer & framebuffer,
Manager & manager,
View & view )
inline

◆ draw_color_only()

void blender::draw::overlay::Meshes::draw_color_only ( Framebuffer & framebuffer,
Manager & manager,
View & view )
inline

◆ edit_object_sync()

◆ mesh_has_edit_cage()

static bool blender::draw::overlay::Meshes::mesh_has_edit_cage ( const Object * ob)
inlinestatic

The documentation for this class was generated from the following file: