Blender
V3.3
|
Go to the source code of this file.
Functions | |
void | OVERLAY_facing_init (OVERLAY_Data *UNUSED(vedata)) |
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 17 of file overlay_facing.c.
References DRW_Global::block_ubo, OVERLAY_PrivateData::clipping_state, DRW_PASS_CREATE, DRW_shgroup_create(), DRW_shgroup_uniform_block, DRW_STATE_BLEND_ALPHA, DRW_STATE_DEPTH_EQUAL, DRW_STATE_WRITE_COLOR, OVERLAY_PrivateData::facing_grp, OVERLAY_PassList::facing_ps, G_draw, IN_FRONT, NOT_IN_FRONT, OVERLAY_shader_facing(), OVERLAY_StorageList::pd, OVERLAY_Data::psl, sh, state, OVERLAY_Data::stl, and OVERLAY_PrivateData::use_in_front.
Referenced by OVERLAY_cache_init().
void OVERLAY_facing_cache_populate | ( | OVERLAY_Data * | vedata, |
Object * | ob | ||
) |
Definition at line 37 of file overlay_facing.c.
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, GPUBatch, 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 61 of file overlay_facing.c.
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 68 of file overlay_facing.c.
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 * | UNUSEDvedata | ) |
Definition at line 13 of file overlay_facing.c.
Referenced by OVERLAY_engine_init().