Blender
V3.3
|
#include "DNA_volume_types.h"
#include "DRW_render.h"
#include "GPU_shader.h"
#include "overlay_private.h"
Go to the source code of this file.
Functions | |
void | OVERLAY_volume_cache_init (OVERLAY_Data *vedata) |
void | OVERLAY_volume_cache_populate (OVERLAY_Data *vedata, Object *ob) |
void | OVERLAY_volume_draw (OVERLAY_Data *vedata) |
void OVERLAY_volume_cache_init | ( | OVERLAY_Data * | vedata | ) |
Definition at line 14 of file overlay_volume.c.
References OVERLAY_PrivateData::clipping_state, DRW_PASS_CREATE, DRW_shgroup_create(), DRW_STATE_DEPTH_LESS_EQUAL, DRW_state_is_select(), DRW_STATE_WRITE_DEPTH, NULL, OVERLAY_shader_depth_only(), OVERLAY_StorageList::pd, OVERLAY_Data::psl, sh, state, OVERLAY_Data::stl, OVERLAY_PassList::volume_ps, and OVERLAY_PrivateData::volume_selection_surface_grp.
Referenced by OVERLAY_cache_init().
void OVERLAY_volume_cache_populate | ( | OVERLAY_Data * | vedata, |
Object * | ob | ||
) |
Definition at line 33 of file overlay_volume.c.
References DRW_cache_volume_selection_surface_get(), DRW_shgroup_call, DRW_state_is_select(), GPUBatch, NULL, OVERLAY_StorageList::pd, OVERLAY_Data::stl, and OVERLAY_PrivateData::volume_selection_surface_grp.
Referenced by OVERLAY_cache_populate().
void OVERLAY_volume_draw | ( | OVERLAY_Data * | vedata | ) |
Definition at line 46 of file overlay_volume.c.
References DRW_draw_pass(), OVERLAY_Data::psl, and OVERLAY_PassList::volume_ps.
Referenced by OVERLAY_draw_scene().