Blender V5.3
blender::GPUSelectNextState Struct Reference

Public Attributes

GPUSelectBuffer * buffer = nullptr
rcti rect = {0, 0, 0, 0}
int radius = 0
uint hits = -1
GPUSelectMode mode = GPUSelectMode::GPU_SELECT_INVALID

Detailed Description

Definition at line 19 of file gpu_select_next.cc.

Member Data Documentation

◆ buffer

GPUSelectBuffer* blender::GPUSelectNextState::buffer = nullptr

Result buffer set on initialization.

Definition at line 21 of file gpu_select_next.cc.

Referenced by blender::gpu_select_next_begin(), and blender::gpu_select_next_set_result().

◆ hits

uint blender::GPUSelectNextState::hits = -1

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

Definition at line 27 of file gpu_select_next.cc.

Referenced by blender::gpu_select_next_end(), and blender::gpu_select_next_set_result().

◆ mode

◆ radius

int blender::GPUSelectNextState::radius = 0

The radius relative to the center of rect in which to select. Ignored if 0.

Definition at line 25 of file gpu_select_next.cc.

Referenced by blender::gpu_select_next_begin(), and blender::gpu_select_next_get_radius().

◆ rect

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

Area of the viewport to render / select from.

Definition at line 23 of file gpu_select_next.cc.

Referenced by blender::gpu_select_next_begin(), and blender::gpu_select_next_get_pick_area_center().


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