Blender V5.0
gpu_select_private.hh File Reference
#include "GPU_select.hh"

Go to the source code of this file.

Macros

#define SELECT_ID_NONE   ((uint)0xffffffff)

Functions

void gpu_select_pick_begin (GPUSelectBuffer *buffer, const rcti *input, GPUSelectMode mode)
bool gpu_select_pick_load_id (uint id, bool end)
uint gpu_select_pick_end ()
void gpu_select_pick_cache_begin ()
void gpu_select_pick_cache_end ()
bool gpu_select_pick_is_cached ()
void gpu_select_pick_cache_load_id ()
void gpu_select_query_begin (GPUSelectBuffer *buffer, const rcti *input, GPUSelectMode mode, int oldhits)
bool gpu_select_query_load_id (uint id)
uint gpu_select_query_end ()
void gpu_select_next_begin (GPUSelectBuffer *buffer, const rcti *input, GPUSelectMode mode)
uint gpu_select_next_end ()
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)

Detailed Description

Selection implementations.

Definition in file gpu_select_private.hh.

Macro Definition Documentation

◆ SELECT_ID_NONE

#define SELECT_ID_NONE   ((uint)0xffffffff)

Definition at line 48 of file gpu_select_private.hh.

Referenced by depth_buf_malloc(), and gpu_select_load_id_pass_nearest().

Function Documentation

◆ gpu_select_next_begin()

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().

◆ gpu_select_next_end()

uint gpu_select_next_end ( )

Definition at line 78 of file gpu_select_next.cc.

References g_state.

Referenced by GPU_select_end().

◆ gpu_select_next_get_mode()

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().

◆ gpu_select_next_get_pick_area_center()

int gpu_select_next_get_pick_area_center ( )

◆ gpu_select_next_set_result()

◆ gpu_select_pick_begin()

◆ gpu_select_pick_cache_begin()

void gpu_select_pick_cache_begin ( )

Definition at line 701 of file gpu_select_pick.cc.

References BLI_assert, g_pick_state, and printf.

Referenced by gpu_select_begin_ex().

◆ gpu_select_pick_cache_end()

void gpu_select_pick_cache_end ( )

Definition at line 711 of file gpu_select_pick.cc.

References BLI_freelistN(), BLI_listbase_count(), g_pick_state, and printf.

Referenced by GPU_select_cache_end().

◆ gpu_select_pick_cache_load_id()

◆ gpu_select_pick_end()

◆ gpu_select_pick_is_cached()

bool gpu_select_pick_is_cached ( )
Returns
true if drawing is not needed.

Definition at line 722 of file gpu_select_pick.cc.

References g_pick_state.

Referenced by GPU_select_is_cached().

◆ gpu_select_pick_load_id()

◆ gpu_select_query_begin()

◆ gpu_select_query_end()

◆ gpu_select_query_load_id()

bool gpu_select_query_load_id ( uint id)

Definition at line 111 of file gpu_select_sample_query.cc.

References BLI_assert, g_query_state, and GPU_SELECT_NEAREST_SECOND_PASS.

Referenced by GPU_select_load_id().