Blender V4.3
gpu_select_private.hh File Reference

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, eGPUSelectMode 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, eGPUSelectMode 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, eGPUSelectMode mode)
 
uint gpu_select_next_end ()
 
int gpu_select_next_get_pick_area_center ()
 
eGPUSelectMode gpu_select_next_get_mode ()
 
void gpu_select_next_set_result (GPUSelectResult *buffer, uint buffer_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 46 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,
eGPUSelectMode mode )

◆ gpu_select_next_end()

uint gpu_select_next_end ( )

Definition at line 81 of file gpu_select_next.cc.

References g_state, and GPUSelectNextState::hits.

Referenced by GPU_select_end().

◆ gpu_select_next_get_mode()

eGPUSelectMode gpu_select_next_get_mode ( )

Definition at line 46 of file gpu_select_next.cc.

References g_state, and GPUSelectNextState::mode.

Referenced by blender::draw::select::SelectMap::begin_sync().

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

◆ gpu_select_pick_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 723 of file gpu_select_pick.cc.

References g_pick_state, and GPUPickState::is_cached.

Referenced by GPU_select_is_cached().

◆ gpu_select_pick_load_id()

◆ gpu_select_query_begin()

◆ gpu_select_query_end()

◆ gpu_select_query_load_id()