|
Blender V4.3
|
Go to the source code of this file.
Functions | |
| void | OVERLAY_facing_init (OVERLAY_Data *) |
| void | OVERLAY_facing_cache_init (OVERLAY_Data *vedata) |
| void | OVERLAY_facing_cache_populate (OVERLAY_Data *vedata, Object *ob) |
| void | OVERLAY_facing_draw (OVERLAY_Data *vedata) |
| void | OVERLAY_facing_infront_draw (OVERLAY_Data *vedata) |
| void OVERLAY_facing_cache_init | ( | OVERLAY_Data * | vedata | ) |
Definition at line 16 of file overlay_facing.cc.
References DRW_Global::block_ubo, OVERLAY_PrivateData::clipping_state, DRW_context_state_get(), DRW_PASS_CREATE, DRW_shgroup_create(), DRW_shgroup_uniform_block, DRW_STATE_CULL_BACK, DRW_STATE_DEPTH_EQUAL, DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, OVERLAY_PrivateData::facing_grp, OVERLAY_PassList::facing_ps, View3DShading::flag, G_draw, IN_FRONT, NOT_IN_FRONT, OB_SOLID, OVERLAY_shader_facing(), OVERLAY_StorageList::pd, OVERLAY_Data::psl, View3D::shading, state, OVERLAY_Data::stl, View3DShading::type, OVERLAY_PrivateData::use_in_front, DRWContextState::v3d, and V3D_SHADING_BACKFACE_CULLING.
Referenced by OVERLAY_cache_init().
| void OVERLAY_facing_cache_populate | ( | OVERLAY_Data * | vedata, |
| Object * | ob ) |
Definition at line 47 of file overlay_facing.cc.
References BKE_sculptsession_use_pbvh_draw(), DRW_cache_object_surface_get(), DRW_context_state_get(), DRW_shgroup_call, DRW_shgroup_call_sculpt(), DRW_state_is_image_render(), Object::dtx, OVERLAY_PrivateData::facing_grp, OB_DRAW_IN_FRONT, OVERLAY_StorageList::pd, DRWContextState::rv3d, OVERLAY_Data::stl, and OVERLAY_PrivateData::xray_enabled.
Referenced by OVERLAY_cache_populate().
| void OVERLAY_facing_draw | ( | OVERLAY_Data * | vedata | ) |
Definition at line 71 of file overlay_facing.cc.
References DRW_draw_pass(), OVERLAY_PassList::facing_ps, NOT_IN_FRONT, and OVERLAY_Data::psl.
Referenced by OVERLAY_draw_scene().
| void OVERLAY_facing_infront_draw | ( | OVERLAY_Data * | vedata | ) |
Definition at line 78 of file overlay_facing.cc.
References DRW_draw_pass(), OVERLAY_PassList::facing_ps, IN_FRONT, and OVERLAY_Data::psl.
Referenced by OVERLAY_draw_scene().
| void OVERLAY_facing_init | ( | OVERLAY_Data * | vedata | ) |
Definition at line 14 of file overlay_facing.cc.
Referenced by OVERLAY_engine_init().