Blender  V3.3
Public Attributes | List of all members
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 35 of file gpu_select.c.

Member Data Documentation

◆ algorithm

eGPUSelectAlgo GPUSelectState::algorithm

◆ mode

eGPUSelectMode GPUSelectState::mode

Definition at line 39 of file gpu_select.c.

Referenced by GPU_select_begin().

◆ 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 52 of file gpu_select.c.

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


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