Blender V4.3
GPUSelectState Struct Reference

Public Attributes

bool select_is_active
 
eGPUSelectMode mode
 
eGPUSelectAlgo algorithm
 
bool use_cache
 
bool use_cache_needs_init
 

Detailed Description

Definition at line 44 of file gpu_select.cc.

Member Data Documentation

◆ algorithm

◆ mode

eGPUSelectMode GPUSelectState::mode

Definition at line 48 of file gpu_select.cc.

Referenced by gpu_select_begin_ex().

◆ select_is_active

bool GPUSelectState::select_is_active

◆ use_cache

bool GPUSelectState::use_cache

◆ use_cache_needs_init

bool GPUSelectState::use_cache_needs_init

Signifies that GPU_select_cache_begin has been called, future calls to GPU_select_begin should initialize the cache.

Note
GPU_select_cache_begin could perform initialization but doesn't as it's inconvenient for callers making the cache begin/end calls outside lower level selection logic where the mode to pass to GPU_select_begin yet isn't known.

Definition at line 61 of file gpu_select.cc.

Referenced by gpu_select_begin_ex(), GPU_select_cache_begin(), and GPU_select_cache_end().


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