Blender V4.5
GPUSelectNextState Struct Reference

Public Attributes

GPUSelectBufferbuffer = nullptr
 
rcti rect = {0, 0, 0, 0}
 
uint hits = -1
 
eGPUSelectMode mode = eGPUSelectMode::GPU_SELECT_INVALID
 

Detailed Description

Definition at line 17 of file gpu_select_next.cc.

Member Data Documentation

◆ buffer

GPUSelectBuffer* GPUSelectNextState::buffer = nullptr

Result buffer set on initialization.

Definition at line 19 of file gpu_select_next.cc.

Referenced by gpu_select_next_begin(), and gpu_select_next_set_result().

◆ hits

uint GPUSelectNextState::hits = -1

Number of hits. Set to -1 if it overflows buffer_len.

Definition at line 23 of file gpu_select_next.cc.

Referenced by gpu_select_next_end(), and gpu_select_next_set_result().

◆ mode

Mode of operation.

Definition at line 25 of file gpu_select_next.cc.

Referenced by gpu_select_next_begin(), gpu_select_next_get_mode(), and gpu_select_next_set_result().

◆ rect

rcti GPUSelectNextState::rect = {0, 0, 0, 0}

Area of the viewport to render / select from.

Definition at line 21 of file gpu_select_next.cc.

Referenced by gpu_select_next_begin(), and gpu_select_next_get_pick_area_center().


The documentation for this struct was generated from the following file: