Blender
V3.3
|
Go to the source code of this file.
Functions | |
void | OVERLAY_edit_lattice_cache_init (OVERLAY_Data *vedata) |
void | OVERLAY_edit_lattice_cache_populate (OVERLAY_Data *vedata, Object *ob) |
void | OVERLAY_lattice_cache_populate (OVERLAY_Data *vedata, Object *ob) |
void | OVERLAY_edit_lattice_draw (OVERLAY_Data *vedata) |
void OVERLAY_edit_lattice_cache_init | ( | OVERLAY_Data * | vedata | ) |
Definition at line 12 of file overlay_lattice.c.
References DRW_Global::block_ubo, OVERLAY_PrivateData::clipping_state, DRW_PASS_CREATE, DRW_shgroup_create(), DRW_shgroup_uniform_block, DRW_shgroup_uniform_texture(), DRW_STATE_DEPTH_LESS_EQUAL, DRW_STATE_WRITE_COLOR, DRW_STATE_WRITE_DEPTH, OVERLAY_PrivateData::edit_lattice_points_grp, OVERLAY_PassList::edit_lattice_ps, OVERLAY_PrivateData::edit_lattice_wires_grp, G_draw, OVERLAY_shader_edit_lattice_point(), OVERLAY_shader_edit_lattice_wire(), OVERLAY_StorageList::pd, OVERLAY_Data::psl, sh, state, OVERLAY_Data::stl, and DRW_Global::weight_ramp.
Referenced by OVERLAY_cache_init().
void OVERLAY_edit_lattice_cache_populate | ( | OVERLAY_Data * | vedata, |
Object * | ob | ||
) |
Definition at line 34 of file overlay_lattice.c.
References DRW_cache_lattice_vert_overlay_get(), DRW_cache_lattice_wire_get(), DRW_shgroup_call, OVERLAY_PrivateData::edit_lattice_points_grp, OVERLAY_PrivateData::edit_lattice_wires_grp, GPUBatch, OVERLAY_StorageList::pd, and OVERLAY_Data::stl.
Referenced by OVERLAY_cache_populate().
void OVERLAY_edit_lattice_draw | ( | OVERLAY_Data * | vedata | ) |
Definition at line 58 of file overlay_lattice.c.
References DRW_draw_pass(), DRW_state_is_fbo(), OVERLAY_PassList::edit_lattice_ps, OVERLAY_Data::fbl, GPU_framebuffer_bind(), OVERLAY_FramebufferList::overlay_default_fb, and OVERLAY_Data::psl.
Referenced by OVERLAY_draw_scene().
void OVERLAY_lattice_cache_populate | ( | OVERLAY_Data * | vedata, |
Object * | ob | ||
) |
Definition at line 46 of file overlay_lattice.c.
References color, DRW_cache_lattice_wire_get(), DRW_context_state_get(), DRW_object_wire_theme_get(), GPUBatch, Object::obmat, OVERLAY_extra_call_buffer_get(), OVERLAY_extra_wire(), and DRWContextState::view_layer.
Referenced by OVERLAY_cache_populate().