|
Blender V5.0
|
Go to the source code of this file.
Classes | |
| struct | GPUSelectNextState |
Functions | |
| void | gpu_select_next_begin (GPUSelectBuffer *buffer, const rcti *input, GPUSelectMode mode) |
| int | gpu_select_next_get_pick_area_center () |
| GPUSelectMode | gpu_select_next_get_mode () |
| void | gpu_select_next_set_result (GPUSelectResult *hit_buf, uint hit_len) |
| uint | gpu_select_next_end () |
Variables | |
| static GPUSelectNextState | g_state = {} |
Glue to make the new Select-Next engine work with the old GPU select API.
Definition in file gpu_select_next.cc.
| void gpu_select_next_begin | ( | GPUSelectBuffer * | buffer, |
| const rcti * | input, | ||
| GPUSelectMode | mode ) |
Definition at line 30 of file gpu_select_next.cc.
References g_state, and input.
Referenced by gpu_select_begin_ex().
| uint gpu_select_next_end | ( | ) |
Definition at line 78 of file gpu_select_next.cc.
References g_state.
Referenced by GPU_select_end().
| GPUSelectMode gpu_select_next_get_mode | ( | ) |
Definition at line 44 of file gpu_select_next.cc.
References g_state.
Referenced by blender::draw::select::SelectMap::pre_draw().
| int gpu_select_next_get_pick_area_center | ( | ) |
Definition at line 38 of file gpu_select_next.cc.
References BLI_assert, BLI_rcti_size_x(), BLI_rcti_size_y(), and g_state.
Referenced by blender::draw::select::SelectMap::pre_draw().
| void gpu_select_next_set_result | ( | GPUSelectResult * | hit_buf, |
| uint | hit_len ) |
Definition at line 49 of file gpu_select_next.cc.
References BLI_assert_unreachable, blender::MutableSpan< T >::copy_from(), g_state, GPU_SELECT_ALL, GPU_SELECT_INVALID, GPU_SELECT_NEAREST_FIRST_PASS, GPU_SELECT_NEAREST_SECOND_PASS, GPU_SELECT_PICK_ALL, and GPU_SELECT_PICK_NEAREST.
Referenced by blender::draw::select::SelectMap::read_result().
|
static |
Definition at line 28 of file gpu_select_next.cc.
Referenced by BKE_sound_jack_scene_update(), gpu_select_next_begin(), gpu_select_next_end(), gpu_select_next_get_mode(), gpu_select_next_get_pick_area_center(), and gpu_select_next_set_result().